2020-07-12 14:08:00 -05:00
|
|
|
{
|
2020-09-22 05:36:03 -05:00
|
|
|
// source for rustc_* is not included in the rust-src component; disable the errors about this
|
2021-04-08 10:57:15 -05:00
|
|
|
"rust-analyzer.diagnostics.disabled": ["unresolved-extern-crate", "unresolved-macro-call"],
|
2021-06-18 09:18:44 -05:00
|
|
|
"rust-analyzer.assist.importGranularity": "module",
|
|
|
|
"rust-analyzer.assist.importEnforceGranularity": true,
|
2021-07-02 05:39:34 -05:00
|
|
|
"rust-analyzer.assist.importPrefix": "crate",
|
2021-03-09 05:52:43 -06:00
|
|
|
"rust-analyzer.cargo.runBuildScripts": true,
|
2022-05-06 11:12:01 -05:00
|
|
|
"rust-analyzer.cargo.features": ["unstable-features"],
|
2020-07-12 14:08:00 -05:00
|
|
|
"rust-analyzer.linkedProjects": [
|
|
|
|
"./Cargo.toml",
|
|
|
|
//"./build_sysroot/sysroot_src/src/libstd/Cargo.toml",
|
|
|
|
{
|
|
|
|
"roots": [
|
|
|
|
"./example/mini_core.rs",
|
|
|
|
"./example/mini_core_hello_world.rs",
|
|
|
|
"./example/mod_bench.rs"
|
|
|
|
],
|
|
|
|
"crates": [
|
|
|
|
{
|
|
|
|
"root_module": "./example/mini_core.rs",
|
|
|
|
"edition": "2018",
|
|
|
|
"deps": [],
|
|
|
|
"cfg": [],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"root_module": "./example/mini_core_hello_world.rs",
|
|
|
|
"edition": "2018",
|
|
|
|
"deps": [{ "crate": 0, "name": "mini_core" }],
|
|
|
|
"cfg": [],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"root_module": "./example/mod_bench.rs",
|
|
|
|
"edition": "2018",
|
|
|
|
"deps": [],
|
|
|
|
"cfg": [],
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2020-10-11 06:19:04 -05:00
|
|
|
"roots": ["./scripts/filter_profile.rs"],
|
2020-07-12 14:08:00 -05:00
|
|
|
"crates": [
|
|
|
|
{
|
2020-10-11 06:19:04 -05:00
|
|
|
"root_module": "./scripts/filter_profile.rs",
|
2020-07-12 14:08:00 -05:00
|
|
|
"edition": "2018",
|
|
|
|
"deps": [{ "crate": 1, "name": "std" }],
|
|
|
|
"cfg": [],
|
|
|
|
},
|
|
|
|
{
|
2020-10-11 06:19:04 -05:00
|
|
|
"root_module": "./build_sysroot/sysroot_src/library/std/src/lib.rs",
|
2020-07-12 14:08:00 -05:00
|
|
|
"edition": "2018",
|
|
|
|
"deps": [],
|
|
|
|
"cfg": [],
|
|
|
|
},
|
|
|
|
]
|
2021-06-08 07:33:25 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"roots": ["./y.rs"],
|
|
|
|
"crates": [
|
|
|
|
{
|
|
|
|
"root_module": "./y.rs",
|
|
|
|
"edition": "2018",
|
|
|
|
"deps": [{ "crate": 1, "name": "std" }],
|
|
|
|
"cfg": [],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"root_module": "./build_sysroot/sysroot_src/library/std/src/lib.rs",
|
|
|
|
"edition": "2018",
|
|
|
|
"deps": [],
|
|
|
|
"cfg": [],
|
|
|
|
},
|
|
|
|
]
|
2020-07-12 14:08:00 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|