We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rust_out
1 parent c6d9482 commit 3fd645eCopy full SHA for 3fd645e
tests/run-make/dos-device-input/rmake.rs
@@ -1,9 +1,13 @@
1
//@ only-windows
2
// Reason: dos devices are a Windows thing
3
4
-use run_make_support::rustc;
+use std::path::Path;
5
+
6
+use run_make_support::{rustc, static_lib_name};
7
8
fn main() {
9
rustc().input(r"\\.\NUL").crate_type("staticlib").run();
10
rustc().input(r"\\?\NUL").crate_type("staticlib").run();
11
12
+ assert!(Path::new(&static_lib_name("rust_out")).exists());
13
}
0 commit comments