summaryrefslogtreecommitdiff
path: root/examples/rust/src/tinywasm.rs
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2024-01-26 12:39:07 +0100
committerHenry Gressmann <mail@henrygressmann.de>2024-01-26 12:39:07 +0100
commit133ae7e1f1eb6ccd027a3a0117766551197671f2 (patch)
treed30c5c501d10435196f69710b0cc6d5dfab67876 /examples/rust/src/tinywasm.rs
parentf3d890a36d6299dbd70377ce57b0bd9d61de5c1b (diff)
chore: fix selfhosting 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 52af7b9..0f18ab9 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!("../../wasm/hello.wasm"))?;
+ let module = tinywasm::Module::parse_bytes(include_bytes!("../out/hello.wasm"))?;
let mut store = tinywasm::Store::default();
let mut imports = tinywasm::Imports::new();