diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2020-07-12 21:08:00 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2020-07-12 21:08:00 +0200 |
| commit | cc8744c004b2c15dcebeae514b3a023d08347309 (patch) | |
| tree | 55c6846155abe2eef062757d298e5d22b7028f98 | |
| parent | 2ab1084ed44284e4f1d44c2a5b4e982a5539d37d (diff) | |
| download | rust-cc8744c004b2c15dcebeae514b3a023d08347309.tar.gz rust-cc8744c004b2c15dcebeae514b3a023d08347309.zip | |
Set rust-analyzer.linkedProjects for vscode
| -rw-r--r-- | .vscode/settings.json | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000000..a33e82a017f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,50 @@ +{ + "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": [], + }, + ] + }, + { + "roots": ["./analyze_profile.rs"], + "crates": [ + { + "root_module": "./analyze_profile.rs", + "edition": "2018", + "deps": [{ "crate": 1, "name": "std" }], + "cfg": [], + }, + { + "root_module": "./build_sysroot/sysroot_src/src/libstd/lib.rs", + "edition": "2018", + "deps": [], + "cfg": [], + }, + ] + } + ] +} |
