·
2 commits
to master
since this release
Custom Rust toolchain for the HiSilicon RISC-V family (WS63 + BS2X /
BS20·BS21·BS22), target riscv32imfc-unknown-none-elf (RV32IMFC_Zicsr,
hard-float ilp32f, no atomics) builtin — downstream builds need no
-Z build-std.
Multi-platform: linux x86_64/aarch64, macOS x86_64/aarch64, windows x86_64
(a tarball per host; the Windows build is best-effort).
Install (pick the tarball for your host; the rustup channel is hisi-riscv):
tar xzf hisi-riscv-rust-*-<your-host>.tar.gz
rustup toolchain link hisi-riscv "$PWD/stage2"
Each sysroot ships: rustc + cargo + rustfmt + clippy + rustdoc,
rust-analyzer-proc-macro-srv, rust-src, llvm-tools (rust-objcopy …),
and precompiled core/alloc for the target. Unix builds also include
rust-gdb / rust-lldb + pretty-printers.