Прочитайте справку для rustup target add
:
$ rustup target add --help
rustup-target-add
Add a target to a Rust toolchain
USAGE:
rustup target add [OPTIONS] <target>...
FLAGS:
-h, --help Prints help information
OPTIONS:
--toolchain <toolchain> Toolchain name, such as 'stable', 'nightly', or '1.8.0'. For more information see
`rustup help toolchain`
Таким образом, вы хотите:
rustup target add i686-pc-windows-msvc --toolchain beta
Я полагаю, что это добавит цель к "текущей" цепочке инструментов по умолчанию, поэтому вы также можете сделать:
rustup override set beta # in your project directory
rustup target add i686-pc-windows-msvc #
cargo build # no more +beta
rustup target list
даже отображает его как «установленный»
Прочитать справку для rustup target list
:
$ rustup target list --help
rustup-target-list
List installed and available targets
USAGE:
rustup target list [OPTIONS]
FLAGS:
-h, --help Prints help information
OPTIONS:
--toolchain <toolchain> Toolchain name, such as 'stable', 'nightly', or '1.8.0'. For more information see
`rustup help toolchain`
Таким образом, вы хотите:
rustup target list --toolchain beta