开发环境配置
Linux / macOS
# 安装Rust工具链
curl https://sh.rustup.rs -sSf | sh
# 手动安装QEMU,RV64/AArch64工具链
# macOS:brew install qemu
# 由于天朝特殊的网络环境,建议配置代理服务器
export RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static
export RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/rust-static/rustup
# 安装cargo工具
rustup component add rust-src
cargo install cargo-xbuild bootimageIDE & Editor
Debug
Make
Last updated