Skip to content

Commit c0be32b

Browse files
committed
Re-enable version_works_without_rustc on windows.
This test was ignored in #3189 without much discussion of explaining why. AFAICT, this test works fine on Windows on both MSVC and GNU. Empty paths do the expected behavior (preventing cargo from running rustc). There are some special rules on Windows about discovering the process to run (such as searching the app's launch directory), but I do not think that is relevant here. Confirmed by trying to run `cargo check` in this test fails to find `rustc`.
1 parent 01747aa commit c0be32b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/testsuite/version.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ fn simple() {
1616
}
1717

1818
#[cargo_test]
19-
#[cfg_attr(target_os = "windows", ignore)]
2019
fn version_works_without_rustc() {
2120
let p = project().build();
2221
p.cargo("version").env("PATH", "").run();

0 commit comments

Comments
 (0)