mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-08 21:06:48 +00:00
Adjust cargo check script in rust analyzer
This commit is contained in:
parent
99a22ff124
commit
0f9285d72b
12
.vscode/settings.json
vendored
12
.vscode/settings.json
vendored
@ -1,7 +1,15 @@
|
||||
{
|
||||
"rust-analyzer.check.allTargets": false,
|
||||
"rust-analyzer.cargo.target": "x86_64-unknown-none",
|
||||
"rust-analyzer.check.extraArgs": [
|
||||
"rust-analyzer.check.extraEnv": {
|
||||
"RUSTFLAGS": "--check-cfg cfg(ktest) --cfg ktest"
|
||||
},
|
||||
"rust-analyzer.check.overrideCommand": [
|
||||
"cargo",
|
||||
"check",
|
||||
"--quiet",
|
||||
"--message-format=json",
|
||||
"--manifest-path",
|
||||
"kernel/Cargo.toml",
|
||||
"--target",
|
||||
"x86_64-unknown-none",
|
||||
"-Zbuild-std=core,alloc,compiler_builtins",
|
||||
|
Loading…
x
Reference in New Issue
Block a user