summaryrefslogtreecommitdiff
path: root/examples/rust/src/tinywasm.rs
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2024-01-26 18:03:59 +0100
committerHenry Gressmann <mail@henrygressmann.de>2024-01-26 18:03:59 +0100
commit8adce672578683dcc7ab62e5492e0f5dbc07a0b4 (patch)
treeeda57b01f206faf5bcfb7ee70c24fd7be8546e66 /examples/rust/src/tinywasm.rs
parent6fd283b06c4912f5d3408b2072cbc3c4e195a236 (diff)
docs: string example
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'examples/rust/src/tinywasm.rs')
-rw-r--r--examples/rust/src/tinywasm.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rust/src/tinywasm.rs b/examples/rust/src/tinywasm.rs
index 0fb9261..08c8135 100644
--- a/examples/rust/src/tinywasm.rs
+++ b/examples/rust/src/tinywasm.rs
@@ -12,7 +12,7 @@ pub extern "C" fn hello() {
}
fn run() -> tinywasm::Result<()> {
- let module = tinywasm::Module::parse_bytes(include_bytes!("../out/hello.wasm"))?;
+ let module = tinywasm::Module::parse_bytes(include_bytes!("../out/print.wasm"))?;
let mut store = tinywasm::Store::default();
let mut imports = tinywasm::Imports::new();