如何摆脱锈目标[窗户]

发布于 2025-02-11 10:30:12 字数 314 浏览 2 评论 0原文

由于某些原因 我已经完全重新安装了Rust(从卸载器和删除.Cargo和.rustup)

Rustup显示:

rustup home:  C:\Users\USER\.rustup

stable-x86_64-pc-windows-msvc (default)
rustc 1.61.0 (fe5b13d68 2022-05-18)

Rusup Target列表不列出Thumbv7M-None-Aebi,因为安装的

Rustup Target删除也无法使用。

这会导致我无法在任何项目中使用STD库。

For some reason the thumbv7m-none-eabi target is in every rust project i create
I have reinstalled rust completely (from the uninstaller and deleting .cargo and .rustup)

rustup show:

rustup home:  C:\Users\USER\.rustup

stable-x86_64-pc-windows-msvc (default)
rustc 1.61.0 (fe5b13d68 2022-05-18)

rustup target list does not list thumbv7m-none-eabi as installed

rustup target remove does not work either.

This results in me not being able to use the std library in any project whatsoever.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

楠木可依 2025-02-18 10:30:12

已解决的:

VSCODE设置。由于某种原因,vScode设置设置为添加 - 目标thumbv7m-None-eabi。

那就是为什么重新安装什么都没有修复,我只是疯了

SOLVED:

Vscode settings.json was set to add --target thumbv7m-none-eabi for some reason.

Thats why reinstalls fixed nothing and i was just going insane

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文