2020-07-12 14:08:00 -05:00
|
|
|
{
|
2023-01-24 11:56:42 -06:00
|
|
|
"editor.formatOnSave": true,
|
|
|
|
|
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-30 07:49:58 -05:00
|
|
|
"rust-analyzer.diagnostics.disabled": ["unresolved-extern-crate", "unresolved-macro-call"],
|
2022-07-25 09:07:57 -05:00
|
|
|
"rust-analyzer.imports.granularity.enforce": true,
|
|
|
|
"rust-analyzer.imports.granularity.group": "module",
|
|
|
|
"rust-analyzer.imports.prefix": "crate",
|
2022-12-14 12:30:46 -06:00
|
|
|
"rust-analyzer.cargo.features": ["unstable-features", "__check_build_system_using_ra"],
|
2020-07-12 14:08:00 -05:00
|
|
|
"rust-analyzer.linkedProjects": [
|
|
|
|
"./Cargo.toml",
|
|
|
|
{
|
|
|
|
"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": [],
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2023-01-24 11:56:42 -06:00
|
|
|
"sysroot_src": "./download/sysroot/sysroot_src/library",
|
2020-07-12 14:08:00 -05:00
|
|
|
"crates": [
|
|
|
|
{
|
2022-10-23 09:22:55 -05:00
|
|
|
"root_module": "./example/std_example.rs",
|
2022-12-14 12:30:46 -06:00
|
|
|
"edition": "2015",
|
2021-07-07 04:14:20 -05:00
|
|
|
"deps": [],
|
|
|
|
"cfg": [],
|
|
|
|
},
|
|
|
|
]
|
2020-07-12 14:08:00 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|