Closed
Description
I am using the following workspace settings for working on Miri with vscode:
// Place your settings in this file to overwrite default and user settings.
{
"rust-analyzer.rustfmt.extraArgs": [
"+nightly"
],
"rust-analyzer.checkOnSave.overrideCommand": [
"./miri",
"check",
"--message-format=json",
],
"rust-analyzer.linkedProjects": [
"./Cargo.toml",
"./cargo-miri/Cargo.toml"
],
//"rust-analyzer.rustcSource": "discover"
}
Whenever I save a file, an error pops up saying
cargo check failed: No such file or directory (os error 2)
That's all it says. I have no idea which file it is talking about, or what is even going wrong -- the cargo check
seems to be working fine, I am getting the errors I am expected highlighted as they should. The only sign that anything going wrong is this error message, and the error is not giving any details that would be helpful in determining what is happening.