☰
Debian Codegraph
@
1.4.4-1
/
/
.cargo
/
vendor
/
wasip2
/
examples
/
hello-world.rs
☽
☼
.cargo/vendor/wasip2/examples/hello-world.rs
code
plain
raw
GPL-2
1998-2015, Sourcefire, Inc.; 2002-2007, Tomasz Kojm <
[email protected]
>; 2006, Sensory Networks, Inc; 2007-2015, Cisco Systems, Inc; 2014-2018, Cisco and/or its affiliates
debian/copyright
1
use std::io::Write as _;
2
3
fn main() {
4
let mut stdout = wasip2::cli::stdout::get_stdout();
5
stdout.write_all(b"Hello, world!\n").unwrap();
6
stdout.flush().unwrap();
7
}