Stream: general

Topic: use cargo with local rustc from source


Amit Levy (May 19 2020 at 23:47, on Zulip):

Is there a simple way to use a local rustc compiled from (modified) source locally with cargo (installed with Rustup)?

Jake Goulding (May 20 2020 at 00:36, on Zulip):

yes: rustup toolchain link

Chris Simpkins (May 20 2020 at 00:36, on Zulip):

Hi Amit! Check out this section of the rustc-dev-guide on creating a toolchain with your local build. https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#creating-a-rustup-toolchain

Then you should be able to run it with e.g., cargo +stage1 build

Jake Goulding (May 20 2020 at 00:37, on Zulip):

50 minutes later, at almost the same second...

Last update: May 29 2020 at 17:55UTC