vscode rust-analyzer 在 #![no_std] 报错

报错:Can't find crate for `test`

解决办法:https://github.com/rust-lang/rust-analyzer/issues/10716

将 rust-analyzer.checkOnSave.allTargets 设置为 false

posted on 2022-07-07 22:35  Slime04  阅读(551)  评论(0)    收藏  举报