diff --git a/.vscode/settings.json b/.vscode/settings.json index 13301bf20a5..95603bca595 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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": [], },