Tag: 货物

无法覆盖Rustup toolchain以定制iOS工具链

我正在用我的Rust构build自己的工具链。 我需要这个与iOS架构交叉编译。 当试图设置默认工具链或覆盖当前目录的工具链时,我收到了一个关于我的工具链名称的错误。 以下是我创build这个新工具链的步骤: 创buildRustup工具链 rustup toolchain link ios $HOME/rustc-ios 覆盖当前目录工具链 rustup override set ios $ rustup show Default host: x86_64-apple-darwin error: toolchain 'ios' does not support components info: caused by: invalid toolchain name: 'ios' 我已经尝试了符合工具链命名约定的其他名称,但无济于事: $ rustup toolchain link stable-2016-07-19-x86_64-apple-ios $HOME/rustc-ios error: invalid custom toolchain name: 'stable-2016-07-19-x86_64-apple-ios' $ rustup toolchain link stable-x86_64-apple-ios $HOME/rustc-ios error: […]