We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6420840 + 979d951 commit ce36446Copy full SHA for ce36446
editors/code/src/toolchain.ts
@@ -39,7 +39,7 @@ export class Cargo {
39
}
40
41
const result: ArtifactSpec = { cargoArgs: cargoArgs };
42
- if (cargoArgs[0] === "test") {
+ if (cargoArgs[0] === "test" || cargoArgs[0] === "bench") {
43
// for instance, `crates\rust-analyzer\tests\heavy_tests\main.rs` tests
44
// produce 2 artifacts: {"kind": "bin"} and {"kind": "test"}
45
result.filter = (artifacts) => artifacts.filter((it) => it.isTest);
0 commit comments