mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 14:31:55 +00:00
Better rust-analyzer.linkedProjects value
This commit is contained in:
parent
a24213d81b
commit
bd8be325ab
33
.vscode/settings.json
vendored
33
.vscode/settings.json
vendored
@ -7,13 +7,7 @@
|
||||
"rust-analyzer.cargo.features": ["unstable-features"],
|
||||
"rust-analyzer.linkedProjects": [
|
||||
"./Cargo.toml",
|
||||
//"./build_sysroot/sysroot_src/library/std/Cargo.toml",
|
||||
{
|
||||
"roots": [
|
||||
"./example/mini_core.rs",
|
||||
"./example/mini_core_hello_world.rs",
|
||||
"./example/mod_bench.rs"
|
||||
],
|
||||
"crates": [
|
||||
{
|
||||
"root_module": "./example/mini_core.rs",
|
||||
@ -36,34 +30,17 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"roots": ["./example/std_example.rs"],
|
||||
"crates": [
|
||||
{
|
||||
"root_module": "./example/std_example.rs",
|
||||
"edition": "2018",
|
||||
"deps": [{ "crate": 1, "name": "std" }],
|
||||
"cfg": [],
|
||||
},
|
||||
{
|
||||
"root_module": "./build_sysroot/sysroot_src/library/std/src/lib.rs",
|
||||
"edition": "2018",
|
||||
"deps": [],
|
||||
"cfg": [],
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"roots": ["./y.rs"],
|
||||
"sysroot_src": "./build_sysroot/sysroot_src/library",
|
||||
"crates": [
|
||||
{
|
||||
"root_module": "./y.rs",
|
||||
"edition": "2018",
|
||||
"deps": [{ "crate": 1, "name": "std" }],
|
||||
"edition": "2021",
|
||||
"deps": [],
|
||||
"cfg": [],
|
||||
},
|
||||
{
|
||||
"root_module": "./build_sysroot/sysroot_src/library/std/src/lib.rs",
|
||||
"edition": "2018",
|
||||
"root_module": "./example/std_example.rs",
|
||||
"edition": "2015",
|
||||
"deps": [],
|
||||
"cfg": [],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user