Skip to content

Commit

Permalink
Check staticlib name falls back to rust_out
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisDenton committed Aug 5, 2024
1 parent c6d9482 commit 3fd645e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/run-make/dos-device-input/rmake.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
//@ only-windows
// Reason: dos devices are a Windows thing

use run_make_support::rustc;
use std::path::Path;

use run_make_support::{rustc, static_lib_name};

fn main() {
rustc().input(r"\\.\NUL").crate_type("staticlib").run();
rustc().input(r"\\?\NUL").crate_type("staticlib").run();

assert!(Path::new(&static_lib_name("rust_out")).exists());
}

0 comments on commit 3fd645e

Please sign in to comment.