summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_codegen_cranelift/.vscode/settings.json
blob: bc914e37d2b51dda8d3a0e4ef090a4cc1399fc90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
    // source for rustc_* is not included in the rust-src component; disable the errors about this
    "rust-analyzer.diagnostics.disabled": ["unresolved-extern-crate", "unresolved-macro-call"],
    "rust-analyzer.imports.granularity.enforce": true,
    "rust-analyzer.imports.granularity.group": "module",
    "rust-analyzer.imports.prefix": "crate",
    "rust-analyzer.cargo.features": ["unstable-features", "__check_build_system_using_ra"],
    "rust-analyzer.linkedProjects": [
        "./Cargo.toml",
        {
            "crates": [
                {
                    "root_module": "./example/mini_core.rs",
                    "edition": "2018",
                    "deps": [],
                    "cfg": [],
                },
                {
                    "root_module": "./example/mini_core_hello_world.rs",
                    "edition": "2018",
                    "deps": [{ "crate": 0, "name": "mini_core" }],
                    "cfg": [],
                },
                {
                    "root_module": "./example/mod_bench.rs",
                    "edition": "2018",
                    "deps": [],
                    "cfg": [],
                },
            ]
        },
        {
            "sysroot_src": "./build_sysroot/sysroot_src/library",
            "crates": [
                {
                    "root_module": "./example/std_example.rs",
                    "edition": "2015",
                    "deps": [],
                    "cfg": [],
                },
            ]
        }
    ]
}