File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 88 "files.autoGuessEncoding" : true ,
99 "files.insertFinalNewline" : true ,
1010 "files.trimTrailingWhitespace" : true ,
11- // don't share a cargo lock with rust-analyzer.
12- // see https://github.com/rerun-io/rerun/pull/519 for rationale
11+
12+ // Don't share a cargo lock with rust-analyzer.
13+ // See https://github.com/rerun-io/rerun/pull/519 for rationale.
1314 "rust-analyzer.check.overrideCommand" : [
1415 " cargo" ,
1516 " clippy" ,
1617 " --target-dir=target_ra" ,
1718 " --workspace" ,
1819 " --message-format=json" ,
1920 " --all-targets" ,
20- " --all-features"
21+ " --all-features" ,
2122 ],
2223 "rust-analyzer.cargo.buildScripts.overrideCommand" : [
2324 " cargo" ,
24- " check " ,
25+ " clippy " ,
2526 " --quiet" ,
2627 " --target-dir=target_ra" ,
2728 " --workspace" ,
3334 // Having Rust Analyzer do this while doing other builds can lead to catastrophic failures.
3435 // INCLUDING attempts to publish a new release!
3536 "rust-analyzer.cargo.buildScripts.enable" : false ,
37+
38+ // Uncomment the following option and restart rust-analyzer to get it to check code behind `cfg(target_arch=wasm32)`.
39+ // Don't forget to put it in a comment again before committing.
40+ // "rust-analyzer.cargo.target": "wasm32-unknown-unknown",
41+
3642 "C_Cpp.default.configurationProvider" : " ms-vscode.cmake-tools" , // Use cmake-tools to grab configs.
3743 "C_Cpp.autoAddFileAssociations" : false ,
3844 "cmake.buildDirectory" : " ${workspaceRoot}/build/debug" ,
You can’t perform that action at this time.
0 commit comments