< 返回我的博客

runne 发表于 2023-04-12 23:16

C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools>rustup install stable-x86_64-pc-windows-msvc warning: downloading with complete profile isn't recommended unless you are a developer of the rust language info: syncing channel updates for 'stable-x86_64-pc-windows-msvc' 732.1 KiB / 732.1 KiB (100 %) 398.9 KiB/s in 2s ETA: 0s info: latest update on 2023-03-28, rust version 1.68.2 (9eb3afe9e 2023-03-27) error: component 'miri' for target 'x86_64-pc-windows-msvc' is unavailable for download for channel 'stable' If you don't need the component, you could try a minimal installation with:

rustup toolchain add stable --profile minimal

C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools>

评论区

写评论
zsynacl 2023-09-19 10:45

其实很简单,直接指定 --profile default就可以了 因为miri这些工具在msvc下没适配,default的profile不包含这些工具就可以了

gorust21 2023-04-17 10:42

你是安装的 ms studio 安装的有问题?还是,不行重装 studio

1 共 2 条评论, 1 页