不支持MSVC工具链。请使用GNU工具链 [英] MSVC toolchain is not supported. Please use GNU toolchain
问题描述
当我遇到上述问题时,我试图在
我更新了工具链设置,以使用建议的默认值,例如:
如何解决此问题并获得CLion能够调试Rust代码?
我做了一些搜索,但没有找到一个简单的答案(至少我可以轻松理解一个答案)。
任何帮助将不胜感激。
错误消息与Rust工具链有关,如果没有,则需要为Rust安装gnu工具链。
> rustup工具链安装stable-x86_64-pc-windows-gnu
然后以最简单的方法解决此问题集将其作为默认工具链
> rustup default stable-x86_64-pc-windows-gnu
这是稳定频道,您可以免费使用每晚或Beta版。
I was trying to debug Rust in CLion when I was greeted with the aforementioned
I updated my toolchain setting to use the suggested default as such:
How can I fix this issue and get CLion to be able to debug Rust code?
I did some searching but haven't found a simple answer (at at least one I can understand easily).
Any help would be greatly appreciated.
Error message is related about Rust toolchain, if you haven't you need to install gnu toolchain for Rust.
> rustup toolchain install stable-x86_64-pc-windows-gnu
Then after easiest way to solve this problem set it as default toolchain
> rustup default stable-x86_64-pc-windows-gnu
This is for stable channel you are free to use nightly or beta.
这篇关于不支持MSVC工具链。请使用GNU工具链的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!