Page MenuHomePhabricator

[Nix] Move to rustup supplied tooling
ClosedPublic

Authored by jon on Oct 31 2022, 7:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 28, 2:03 PM
Unknown Object (File)
Tue, Nov 26, 5:23 PM
Unknown Object (File)
Tue, Nov 26, 5:23 PM
Unknown Object (File)
Mon, Nov 25, 3:49 AM
Unknown Object (File)
Fri, Nov 22, 7:51 PM
Unknown Object (File)
Nov 1 2024, 3:47 PM
Unknown Object (File)
Oct 30 2024, 2:25 AM
Unknown Object (File)
Oct 30 2024, 2:25 AM

Details

Reviewers
atul
varun
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rCOMMb3d927bea242: [Nix] Move to rustup supplied tooling
Summary

For compatibility with iOS target compilation, we need to avoid nix
provided rust tooling which only supports targeting the build platform.

Test Plan
nix develop

which rustc # points to rustup package in nix store

yarn cleaninstall # may not be necessary

cd native
yarn react-native run-ios --simulator='iPhone 14 Pro' --configuration=Release

Depends on D5479

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a reviewer: Restricted Owners Package.Oct 31 2022, 7:26 AM
Harbormaster returned this revision to the author for changes because remote builds failed.Oct 31 2022, 7:35 AM
Harbormaster failed remote builds in B13102: Diff 17988!
varun added inline comments.
scripts/ensure_rustup_setup.sh
20–21 ↗(On Diff #17988)

we probably want to add the android targets here as well, right?

This revision is now accepted and ready to land.Nov 1 2022, 8:47 AM
scripts/ensure_rustup_setup.sh
20–21 ↗(On Diff #17988)

that's kind of outside of scope for what I'm trying to do here, which is just enable this rustup provisioning separately from running the build.

I'll create a stub ticket to tackle this later https://linear.app/comm/issue/ENG-2155

This revision was automatically updated to reflect the committed changes.