1+ {
2+ "git.detectSubmodulesLimit" : 20 ,
3+ "rust-analyzer.check.invocationStrategy" : " once" ,
4+ "rust-analyzer.check.overrideCommand" : [
5+ " ./check.sh" ,
6+ " --json-output"
7+ ],
8+ "rust-analyzer.linkedProjects" : [
9+ " Cargo.toml" ,
10+ " compiler/rustc_codegen_cranelift/Cargo.toml" ,
11+ " compiler/rustc_codegen_gcc/Cargo.toml" ,
12+ " library/Cargo.toml" ,
13+ " src/bootstrap/Cargo.toml" ,
14+ " src/tools/rust-analyzer/Cargo.toml"
15+ ],
16+ "rust-analyzer.rustfmt.overrideCommand" : [
17+ " ${workspaceFolder}/build/host/rustfmt/bin/rustfmt" ,
18+ " --edition=2024"
19+ ],
20+ "rust-analyzer.procMacro.server" : " ${workspaceFolder}/build/host/stage0/libexec/rust-analyzer-proc-macro-srv" ,
21+ "rust-analyzer.procMacro.enable" : true ,
22+ "rust-analyzer.cargo.buildScripts.enable" : true ,
23+ "rust-analyzer.cargo.buildScripts.invocationStrategy" : " once" ,
24+ "rust-analyzer.cargo.buildScripts.overrideCommand" : [
25+ " ./check.sh" ,
26+ " --json-output" ,
27+ // "--compile-time-deps"
28+ ],
29+ "rust-analyzer.cargo.sysrootSrc" : " ./library" ,
30+ "rust-analyzer.rustc.source" : " ./Cargo.toml" ,
31+ "rust-analyzer.cargo.extraEnv" : {
32+ "RUSTC_BOOTSTRAP" : " 1"
33+ },
34+ "rust-analyzer.server.extraEnv" : {
35+ "RUSTUP_TOOLCHAIN" : " nightly"
36+ },
37+ "files.associations" : {
38+ "*.fixed" : " rust" ,
39+ "*.pp" : " rust" ,
40+ "*.mir" : " rust"
41+ }
42+ }
0 commit comments