We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
bin
bench
1 parent b0102bd commit 979d951Copy full SHA for 979d951
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