]> git.lizzy.rs Git - rust.git/blob - src/etc/vscode_settings.json
Set `rust-analyzer.check.invocationLocation` to `root`
[rust.git] / src / etc / vscode_settings.json
1 {
2     "rust-analyzer.check.invocationLocation": "root",
3     "rust-analyzer.check.invocationStrategy": "once",
4     "rust-analyzer.checkOnSave.overrideCommand": [
5         "python3",
6         "x.py",
7         "check",
8         "--json-output"
9     ],
10     "rust-analyzer.linkedProjects": ["src/bootstrap/Cargo.toml", "Cargo.toml"],
11     "rust-analyzer.rustfmt.overrideCommand": [
12         "./build/host/rustfmt/bin/rustfmt",
13         "--edition=2021"
14     ],
15     "rust-analyzer.procMacro.server": "./build/host/stage0/libexec/rust-analyzer-proc-macro-srv",
16     "rust-analyzer.procMacro.enable": true,
17     "rust-analyzer.cargo.buildScripts.enable": true,
18     "rust-analyzer.cargo.buildScripts.invocationLocation": "root",
19     "rust-analyzer.cargo.buildScripts.invocationStrategy": "once",
20     "rust-analyzer.cargo.buildScripts.overrideCommand": [
21         "python3",
22         "x.py",
23         "check",
24         "--json-output"
25     ],
26     "rust-analyzer.cargo.sysroot": "./build/host/stage0-sysroot",
27     "rust-analyzer.rustc.source": "./Cargo.toml"
28 }