1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-26 09:10:40 -05:00
denoland-deno/std/wasi/testdata/std_io_stdout.rs

8 lines
136 B
Rust
Raw Normal View History

// { "stdout": "Hello, stdout!" }
use std::io::Write;
fn main() {
assert!(std::io::stdout().write_all(b"Hello, stdout!").is_ok())
}