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, Jun 6, 4:37 PM
Unknown Object (File)
Thu, Jun 6, 1:30 AM
Unknown Object (File)
Wed, Jun 5, 7:08 PM
Unknown Object (File)
Wed, Jun 5, 3:16 PM
Unknown Object (File)
Tue, Jun 4, 2:29 PM
Unknown Object (File)
Tue, Jun 4, 10:35 AM
Unknown Object (File)
Tue, Jun 4, 7:59 AM
Unknown Object (File)
Mon, Jun 3, 4:16 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.