Skip to content

Commit 3fd645e

Browse files
committed
Check staticlib name falls back to rust_out
1 parent c6d9482 commit 3fd645e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
+5-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
//@ only-windows
22
// Reason: dos devices are a Windows thing
33

4-
use run_make_support::rustc;
4+
use std::path::Path;
5+
6+
use run_make_support::{rustc, static_lib_name};
57

68
fn main() {
79
rustc().input(r"\\.\NUL").crate_type("staticlib").run();
810
rustc().input(r"\\?\NUL").crate_type("staticlib").run();
11+
12+
assert!(Path::new(&static_lib_name("rust_out")).exists());
913
}

0 commit comments

Comments
 (0)