mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 16:45:37 +00:00
10 lines
273 B
Rust
10 lines
273 B
Rust
//@ ignore-cross-compile because aux-bin does not yet support it
|
|
//@ aux-bin: print-it-works.rs
|
|
//@ run-pass
|
|
|
|
fn main() {
|
|
let stdout =
|
|
std::process::Command::new("auxiliary/bin/print-it-works").output().unwrap().stdout;
|
|
assert_eq!(stdout, b"it works\n");
|
|
}
|