about summary refs log tree commit diff
path: root/src/etc/rust_analyzer_settings.json
blob: f89e8a2df187852c8b4b00090fd373d765c35c9f (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
45
46
47
48
49
50
{
    "git.detectSubmodulesLimit": 20,
    "rust-analyzer.check.invocationStrategy": "once",
    "rust-analyzer.check.overrideCommand": [
        "python3",
        "x.py",
        "check",
        "--build-dir",
        "build-rust-analyzer",
        "--json-output"
    ],
    "rust-analyzer.linkedProjects": [
        "Cargo.toml",
        "compiler/rustc_codegen_cranelift/Cargo.toml",
        "compiler/rustc_codegen_gcc/Cargo.toml",
        "library/Cargo.toml",
        "src/bootstrap/Cargo.toml",
        "src/tools/rust-analyzer/Cargo.toml"
    ],
    "rust-analyzer.rustfmt.overrideCommand": [
        "${workspaceFolder}/build-rust-analyzer/host/rustfmt/bin/rustfmt",
        "--edition=2024"
    ],
    "rust-analyzer.procMacro.server": "${workspaceFolder}/build-rust-analyzer/host/stage0/libexec/rust-analyzer-proc-macro-srv",
    "rust-analyzer.procMacro.enable": true,
    "rust-analyzer.cargo.buildScripts.enable": true,
    "rust-analyzer.cargo.buildScripts.invocationStrategy": "once",
    "rust-analyzer.cargo.buildScripts.overrideCommand": [
        "python3",
        "x.py",
        "check",
        "--build-dir",
        "build-rust-analyzer",
        "--json-output",
        "--compile-time-deps"
    ],
    "rust-analyzer.cargo.sysrootSrc": "./library",
    "rust-analyzer.rustc.source": "./Cargo.toml",
    "rust-analyzer.cargo.extraEnv": {
        "RUSTC_BOOTSTRAP": "1"
    },
    "rust-analyzer.server.extraEnv": {
        "RUSTUP_TOOLCHAIN": "nightly"
    },
    "files.associations": {
        "*.fixed": "rust",
        "*.pp": "rust",
        "*.mir": "rust"
    }
}