]>
Commit | Line | Data |
---|---|---|
29967ef6 XL |
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"], | |
5869c6ff | 4 | "rust-analyzer.assist.importMergeBehavior": "last", |
29967ef6 XL |
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 | } |