]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_codegen_cranelift/.vscode/settings.json
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
[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.assist.importMergeBehaviour": "last",
5     "rust-analyzer.cargo.loadOutDirsFromCheck": true,
6     "rust-analyzer.linkedProjects": [
7         "./Cargo.toml",
8         //"./build_sysroot/sysroot_src/src/libstd/Cargo.toml",
9         {
10             "roots": [
11                 "./example/mini_core.rs",
12                 "./example/mini_core_hello_world.rs",
13                 "./example/mod_bench.rs"
14             ],
15             "crates": [
16                 {
17                     "root_module": "./example/mini_core.rs",
18                     "edition": "2018",
19                     "deps": [],
20                     "cfg": [],
21                 },
22                 {
23                     "root_module": "./example/mini_core_hello_world.rs",
24                     "edition": "2018",
25                     "deps": [{ "crate": 0, "name": "mini_core" }],
26                     "cfg": [],
27                 },
28                 {
29                     "root_module": "./example/mod_bench.rs",
30                     "edition": "2018",
31                     "deps": [],
32                     "cfg": [],
33                 },
34             ]
35         },
36         {
37             "roots": ["./scripts/filter_profile.rs"],
38             "crates": [
39                 {
40                     "root_module": "./scripts/filter_profile.rs",
41                     "edition": "2018",
42                     "deps": [{ "crate": 1, "name": "std" }],
43                     "cfg": [],
44                 },
45                 {
46                     "root_module": "./build_sysroot/sysroot_src/library/std/src/lib.rs",
47                     "edition": "2018",
48                     "deps": [],
49                     "cfg": [],
50                 },
51             ]
52         }
53     ]
54 }