1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-27 16:10:57 -05:00
denoland-deno/std/wasi/testdata/std_io_stdout.rs

7 lines
136 B
Rust

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