Releases: hispark-rs/hisi-riscv-rust-toolchain
hisi-riscv-rust v1.96.0-2 (riscv32imfc hard-float)
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.
ws63-rust v1.96.0-1 (riscv32imfc hard-float)
Custom Rust toolchain for the HiSilicon WS63 (RISC-V RV32IMFC_Zicsr,
hard-float ilp32f, no atomics). The riscv32imfc-unknown-none-elf
target is builtin — downstream builds need no -Z build-std.
Install:
tar xzf ws63-rust-*-x86_64-unknown-linux-gnu.tar.gz
rustup toolchain link ws63 "$PWD/stage2"
Sysroot ships: rustc + cargo + rustfmt + clippy + rustdoc,
rust-analyzer-proc-macro-srv (LSP proc-macro expansion), rust-src,
llvm-tools (rust-objcopy …), rust-gdb / rust-lldb + pretty-printers,
and precompiled core/alloc for the target.
ws63-rust 1.96.0 (riscv32imfc hard-float)
Custom rustc 1.96.0 (stable) with the HiSilicon WS63 target
riscv32imfc-unknown-none-elf (RV32IMFC_Zicsr, hardware single-float ilp32f, no atomics)
baked in as a builtin — build for it without -Z build-std (precompiled core/alloc included).
Host: x86_64-unknown-linux-gnu. sha256: 2880dc0b42e348c4d8cc5048dc7c7974bc143eeab95189fcba23c0e59b31aeaf
Install
curl -LO https://github.com/sanchuanhehe/ws63-rust-toolchain/releases/download/v1.96.0/ws63-rust-1.96.0-x86_64-unknown-linux-gnu.tar.gz
tar xzf ws63-rust-1.96.0-x86_64-unknown-linux-gnu.tar.gz
rustup toolchain link ws63 "$PWD/stage2"
cargo +ws63 build --target riscv32imfc-unknown-none-elf # no -Z build-stdValidated: ws63-rs blinky builds single-float ABI with this toolchain, no build-std.
Build recipe + CI in this repo. Includes rustc, cargo, and std/core for host + riscv32imfc.