- Clone https://github.com/esp-rs/rust
- Ensure deps are met before starting the installation process, see the README.
- Run
./configure --experimental-targets=Xtensa --release-channel=nightly --enable-extended --tools=clippy,cargo,rustfmt
- Start the build with
./x.py build --stage 2
- Link the custom toolchain to rustup:
Where $HOST is your machines triple, i.e x86_64-unknown-linux-gnurustup toolchain link esp build/$HOST/stage2
- The toolchain should now be usable via +esp, see the shorthand syntax: https://rust-lang.github.io/rustup/overrides.html#toolchain-override-shorthand
Created
November 10, 2022 12:02
-
-
Save MabezDev/ab999b90af2e0b95ec1eafd5b8bb284c to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment