mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 04:04:06 +00:00
12 lines
311 B
Rust
12 lines
311 B
Rust
//@ only-windows
|
|
// Reason: dos devices are a Windows thing
|
|
|
|
use run_make_support::{path, rustc, static_lib_name};
|
|
|
|
fn main() {
|
|
rustc().input(r"\\.\NUL").crate_type("staticlib").run();
|
|
rustc().input(r"\\?\NUL").crate_type("staticlib").run();
|
|
|
|
assert!(path(&static_lib_name("rust_out")).exists());
|
|
}
|