Skip to content

Instantly share code, notes, and snippets.

@eyberg
Created March 11, 2022 20:54
Show Gist options
  • Save eyberg/0e84d9a43ac1a88b0be229932da74227 to your computer and use it in GitHub Desktop.
Save eyberg/0e84d9a43ac1a88b0be229932da74227 to your computer and use it in GitHub Desktop.
eyberg@box:~/rtest$ cat hi.rs
fn main() {
println!("Hello, world!");
}
eyberg@box:~/rtest$ cat config.json
{
"Args": ["hi.wasm"],
"Files": ["hi.wasm"]
}
eyberg@box:~/rtest$ ops run -c config.json /home/eyberg/.wasmedge/bin/wasmedge
booting /home/eyberg/.ops/images/wasmedge.img ...
en1: assigned 10.0.2.15
Hello, world!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment