2024-07-16 10:01:35 -04:00
|
|
|
{
|
|
|
|
"format_on_save": "on",
|
|
|
|
"lsp": {
|
|
|
|
"rust-analyzer": {
|
|
|
|
"initialization_options": {
|
|
|
|
"diagnostics": {
|
|
|
|
// in case rustc.source is disabled for performance reasons; disable the errors about this
|
2025-03-05 15:51:35 +00:00
|
|
|
"disabled": [
|
|
|
|
"unresolved-extern-crate",
|
|
|
|
"unresolved-macro-call"
|
|
|
|
]
|
2024-07-16 10:01:35 -04:00
|
|
|
},
|
|
|
|
"rustc": {
|
|
|
|
"source": "discover"
|
|
|
|
},
|
|
|
|
"imports": {
|
|
|
|
"granularity": {
|
|
|
|
"enforce": true,
|
|
|
|
"group": "module"
|
|
|
|
},
|
|
|
|
"prefix": "crate"
|
|
|
|
},
|
|
|
|
"cargo": {
|
2025-03-05 15:51:35 +00:00
|
|
|
"features": [
|
|
|
|
"unstable-features"
|
|
|
|
]
|
2024-07-16 10:01:35 -04:00
|
|
|
},
|
|
|
|
"linkedProjects": [
|
|
|
|
"./Cargo.toml",
|
|
|
|
"./build_system/Cargo.toml",
|
|
|
|
{
|
2025-03-05 15:51:35 +00:00
|
|
|
"sysroot_src": "./build/stdlib/library",
|
2024-07-16 10:01:35 -04:00
|
|
|
"crates": [
|
|
|
|
{
|
|
|
|
"root_module": "./example/mini_core.rs",
|
2025-03-05 15:51:35 +00:00
|
|
|
"edition": "2015",
|
2024-07-16 10:01:35 -04:00
|
|
|
"deps": [],
|
|
|
|
"cfg": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"root_module": "./example/mini_core_hello_world.rs",
|
2025-03-05 15:51:35 +00:00
|
|
|
"edition": "2015",
|
2024-07-16 10:01:35 -04:00
|
|
|
"deps": [
|
|
|
|
{
|
|
|
|
"crate": 0,
|
|
|
|
"name": "mini_core"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"cfg": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"root_module": "./example/std_example.rs",
|
|
|
|
"edition": "2015",
|
|
|
|
"deps": [],
|
|
|
|
"cfg": []
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|