]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_codegen_cranelift/.vscode/settings.json
04ab5085c196c3f924e295cf4cf46be6386cc223
[rust.git] / compiler / rustc_codegen_cranelift / .vscode / settings.json
1 {
2     // source for rustc_* is not included in the rust-src component; disable the errors about this
3     "rust-analyzer.diagnostics.disabled": ["unresolved-extern-crate"],
4     "rust-analyzer.cargo.loadOutDirsFromCheck": true,
5     "rust-analyzer.linkedProjects": [
6         "./Cargo.toml",
7         //"./build_sysroot/sysroot_src/src/libstd/Cargo.toml",
8         {
9             "roots": [
10                 "./example/mini_core.rs",
11                 "./example/mini_core_hello_world.rs",
12                 "./example/mod_bench.rs"
13             ],
14             "crates": [
15                 {
16                     "root_module": "./example/mini_core.rs",
17                     "edition": "2018",
18                     "deps": [],
19                     "cfg": [],
20                 },
21                 {
22                     "root_module": "./example/mini_core_hello_world.rs",
23                     "edition": "2018",
24                     "deps": [{ "crate": 0, "name": "mini_core" }],
25                     "cfg": [],
26                 },
27                 {
28                     "root_module": "./example/mod_bench.rs",
29                     "edition": "2018",
30                     "deps": [],
31                     "cfg": [],
32                 },
33             ]
34         },
35         {
36             "roots": ["./scripts/filter_profile.rs"],
37             "crates": [
38                 {
39                     "root_module": "./scripts/filter_profile.rs",
40                     "edition": "2018",
41                     "deps": [{ "crate": 1, "name": "std" }],
42                     "cfg": [],
43                 },
44                 {
45                     "root_module": "./build_sysroot/sysroot_src/library/std/src/lib.rs",
46                     "edition": "2018",
47                     "deps": [],
48                     "cfg": [],
49                 },
50             ]
51         }
52     ]
53 }