chore: checkpoint before Python removal

This commit is contained in:
2026-03-26 22:33:59 +00:00
parent 683cec9307
commit e568ddf82a
29972 changed files with 11269302 additions and 2 deletions

14
vendor/wasip2/examples/cli-command.rs vendored Normal file
View File

@@ -0,0 +1,14 @@
use std::io::Write as _;
wasip2::cli::command::export!(Example);
struct Example;
impl wasip2::exports::cli::run::Guest for Example {
fn run() -> Result<(), ()> {
let mut stdout = wasip2::cli::stdout::get_stdout();
stdout.write_all(b"Hello, WASI!").unwrap();
stdout.flush().unwrap();
Ok(())
}
}