1 查看工具链
rustup show
Default host: x86_64-unknown-linux-gnu
rustup home: /home/hongrui/.rustup
installed targets for active toolchain
--------------------------------------
armv7-unknown-linux-musleabihf
x86_64-unknown-linux-gnu
x86_64-unknown-linux-musl
active toolchain
----------------
stable-x86_64-unknown-linux-gnu (default)
rustc 1.63.0 (4b91a6ea7 2022-08-08)
2 添加工具链
rustup target add armv7-unknown-linux-musleabihf
3 删除工具链
rustup target remove armv7-unknown-linux-musleabihf
阅读(941) | 评论(0) | 转发(0) |