2024-08-05 17:13:12 -05:00
|
|
|
//@ only-windows
|
|
|
|
// Reason: dos devices are a Windows thing
|
|
|
|
|
2024-08-28 10:01:40 -05:00
|
|
|
use run_make_support::{path, rustc, static_lib_name};
|
2024-08-05 17:13:12 -05:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
rustc().input(r"\\.\NUL").crate_type("staticlib").run();
|
|
|
|
rustc().input(r"\\?\NUL").crate_type("staticlib").run();
|
2024-08-05 18:50:15 -05:00
|
|
|
|
2024-08-28 10:01:40 -05:00
|
|
|
assert!(path(&static_lib_name("rust_out")).exists());
|
2024-08-05 17:13:12 -05:00
|
|
|
}
|