]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_codegen_cranelift/.vscode/settings.json
Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into sync_cg_clif-2021-07-07
[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.linkedProjects": [
9         "./Cargo.toml",
10         //"./build_sysroot/sysroot_src/src/libstd/Cargo.toml",
11         {
12             "roots": [
13                 "./example/mini_core.rs",
14                 "./example/mini_core_hello_world.rs",
15                 "./example/mod_bench.rs"
16             ],
17             "crates": [
18                 {
19                     "root_module": "./example/mini_core.rs",
20                     "edition": "2018",
21                     "deps": [],
22                     "cfg": [],
23                 },
24                 {
25                     "root_module": "./example/mini_core_hello_world.rs",
26                     "edition": "2018",
27                     "deps": [{ "crate": 0, "name": "mini_core" }],
28                     "cfg": [],
29                 },
30                 {
31                     "root_module": "./example/mod_bench.rs",
32                     "edition": "2018",
33                     "deps": [],
34                     "cfg": [],
35                 },
36             ]
37         },
38         {
39             "roots": ["./scripts/filter_profile.rs"],
40             "crates": [
41                 {
42                     "root_module": "./scripts/filter_profile.rs",
43                     "edition": "2018",
44                     "deps": [{ "crate": 1, "name": "std" }],
45                     "cfg": [],
46                 },
47                 {
48                     "root_module": "./build_sysroot/sysroot_src/library/std/src/lib.rs",
49                     "edition": "2018",
50                     "deps": [],
51                     "cfg": [],
52                 },
53             ]
54         },
55         {
56             "roots": ["./y.rs"],
57             "crates": [
58                 {
59                     "root_module": "./y.rs",
60                     "edition": "2018",
61                     "deps": [{ "crate": 1, "name": "std" }],
62                     "cfg": [],
63                 },
64                 {
65                     "root_module": "./build_sysroot/sysroot_src/library/std/src/lib.rs",
66                     "edition": "2018",
67                     "deps": [],
68                     "cfg": [],
69                 },
70             ]
71         }
72     ]
73 }