cargo new
cargo run
cargo build [--target riscv64imac-unknown-non-elf]
cargo install cargo-binutils
- workspace/.cargo/config
- Installed package `cargo-binutils v0.1.7` (executables `cargo-nm`, `cargo-objcopy`, `cargo-objdump`, `cargo-profdata`, `cargo-readobj`, `cargo-size`, `cargo-strip`, `rust-ar`, `rust-ld`, `rust-lld`, `rust-nm`, `rust-objcopy`, `rust-objdump`, `rust-profdata`, `rust-readobj`, `rust-size`, `rust-strip`)
rustc
rustc --version --verbose
rustc --print target-listrustc -Z unstable-options --print target-spec-json --target riscv64imac-unknown-none-elf
rustup
rustup target add riscv64imac-unknown-none-elf
rustup component add llvm-tools-preview
rust-objdump