diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2023-04-04 19:02:10 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2023-04-04 19:02:10 +0200 |
| commit | 1d085cf03b8c5431a04debd96748909545dcd4f2 (patch) | |
| tree | 6ff9bdae73eb16232943f33c9e531c5290e8fc15 | |
| parent | af0d548b663da03c9e545ec24a08078532b756d6 (diff) | |
| download | rust-1d085cf03b8c5431a04debd96748909545dcd4f2.tar.gz rust-1d085cf03b8c5431a04debd96748909545dcd4f2.zip | |
Adjust default config for slow-tests
| -rw-r--r-- | crates/rust-analyzer/tests/slow-tests/main.rs | 6 | ||||
| -rw-r--r-- | crates/rust-analyzer/tests/slow-tests/support.rs | 6 |
2 files changed, 5 insertions, 7 deletions
diff --git a/crates/rust-analyzer/tests/slow-tests/main.rs b/crates/rust-analyzer/tests/slow-tests/main.rs index c46d7c432a2..3fe3b9ae854 100644 --- a/crates/rust-analyzer/tests/slow-tests/main.rs +++ b/crates/rust-analyzer/tests/slow-tests/main.rs @@ -60,9 +60,6 @@ use std::collections::Spam; ) .with_config(serde_json::json!({ "cargo": { "sysroot": "discover" }, - "procMacro": { - "enable": false, - } })) .server() .wait_until_workspace_is_loaded(); @@ -616,9 +613,6 @@ fn main() {{}} )) .with_config(serde_json::json!({ "cargo": { "sysroot": "discover" }, - "procMacro": { - "enable": false, - } })) .server() .wait_until_workspace_is_loaded(); diff --git a/crates/rust-analyzer/tests/slow-tests/support.rs b/crates/rust-analyzer/tests/slow-tests/support.rs index 037fc89ace0..8600fbc3fb0 100644 --- a/crates/rust-analyzer/tests/slow-tests/support.rs +++ b/crates/rust-analyzer/tests/slow-tests/support.rs @@ -37,8 +37,12 @@ impl<'a> Project<'a> { "sysroot": null, // Can't use test binary as rustc wrapper. "buildScripts": { - "useRustcWrapper": false + "useRustcWrapper": false, + "enable": false, }, + }, + "procMacro": { + "enable": false, } }), } |
