我正在使用visual studio代码练习生锈程序。
我总是得到以下警告。
warning: RLS could not set RUST_SRC_PATH for Racer because it could not read the Rust sysroot.
我该怎么做才能解决此错误?
答案 0 :(得分:1)
对我来说,有帮助的是将其添加到VS Code settings.json 中(快捷菜单->首选项:打开设置(JSON)或通过菜单)
{
"rust-client.channel": "stable"
}