]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_codegen_cranelift/.vscode/settings.json
Rollup merge of #91278 - SparrowLii:place, r=spastorino
[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", "unresolved-macro-call"],
4     "rust-analyzer.assist.importGranularity": "module",
5     "rust-analyzer.assist.importEnforceGranularity": true,
6     "rust-analyzer.assist.importPrefix": "crate",
7     "rust-analyzer.cargo.runBuildScripts": true,
8     "rust-analyzer.cargo.features": ["unstable-features"]
9     "rust-analyzer.linkedProjects": [
10         "./Cargo.toml",
11         //"./build_sysroot/sysroot_src/src/libstd/Cargo.toml",
12         {
13             "roots": [
14                 "./example/mini_core.rs",
15                 "./example/mini_core_hello_world.rs",
16                 "./example/mod_bench.rs"
17             ],
18             "crates": [
19                 {
20                     "root_module": "./example/mini_core.rs",
21                     "edition": "2018",
22                     "deps": [],
23                     "cfg": [],
24                 },
25                 {
26                     "root_module": "./example/mini_core_hello_world.rs",
27                     "edition": "2018",
28                     "deps": [{ "crate": 0, "name": "mini_core" }],
29                     "cfg": [],
30                 },
31                 {
32                     "root_module": "./example/mod_bench.rs",
33                     "edition": "2018",
34                     "deps": [],
35                     "cfg": [],
36                 },
37             ]
38         },
39         {
40             "roots": ["./scripts/filter_profile.rs"],
41             "crates": [
42                 {
43                     "root_module": "./scripts/filter_profile.rs",
44                     "edition": "2018",
45                     "deps": [{ "crate": 1, "name": "std" }],
46                     "cfg": [],
47                 },
48                 {
49                     "root_module": "./build_sysroot/sysroot_src/library/std/src/lib.rs",
50                     "edition": "2018",
51                     "deps": [],
52                     "cfg": [],
53                 },
54             ]
55         },
56         {
57             "roots": ["./y.rs"],
58             "crates": [
59                 {
60                     "root_module": "./y.rs",
61                     "edition": "2018",
62                     "deps": [{ "crate": 1, "name": "std" }],
63                     "cfg": [],
64                 },
65                 {
66                     "root_module": "./build_sysroot/sysroot_src/library/std/src/lib.rs",
67                     "edition": "2018",
68                     "deps": [],
69                     "cfg": [],
70                 },
71             ]
72         }
73     ]
74 }