From 133ae7e1f1eb6ccd027a3a0117766551197671f2 Mon Sep 17 00:00:00 2001 From: Henry Gressmann Date: Fri, 26 Jan 2024 12:39:07 +0100 Subject: chore: fix selfhosting example Signed-off-by: Henry Gressmann --- examples/rust/src/tinywasm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/rust/src') 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(); -- cgit v1.3.1