Skip to content

Commit 1d085cf

Browse files
committed
Adjust default config for slow-tests
1 parent af0d548 commit 1d085cf

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

crates/rust-analyzer/tests/slow-tests/main.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ use std::collections::Spam;
6060
)
6161
.with_config(serde_json::json!({
6262
"cargo": { "sysroot": "discover" },
63-
"procMacro": {
64-
"enable": false,
65-
}
6663
}))
6764
.server()
6865
.wait_until_workspace_is_loaded();
@@ -616,9 +613,6 @@ fn main() {{}}
616613
))
617614
.with_config(serde_json::json!({
618615
"cargo": { "sysroot": "discover" },
619-
"procMacro": {
620-
"enable": false,
621-
}
622616
}))
623617
.server()
624618
.wait_until_workspace_is_loaded();

crates/rust-analyzer/tests/slow-tests/support.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,12 @@ impl<'a> Project<'a> {
3737
"sysroot": null,
3838
// Can't use test binary as rustc wrapper.
3939
"buildScripts": {
40-
"useRustcWrapper": false
40+
"useRustcWrapper": false,
41+
"enable": false,
4142
},
43+
},
44+
"procMacro": {
45+
"enable": false,
4246
}
4347
}),
4448
}

0 commit comments

Comments
 (0)