- 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:
rustup toolchain link esp build/$HOST/stage2
Where $HOST is your machines triple, i.e x86_64-unknown-linux-gnu