This repository was archived by the owner on Oct 3, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ pub extern "C" fn hello() {
1212}
1313
1414fn run ( ) -> tinywasm:: Result < ( ) > {
15- let module = tinywasm:: Module :: parse_stream ( & include_bytes ! ( "../out /print.wasm" ) [ ..] ) ?;
15+ let module = tinywasm:: Module :: parse_stream ( & include_bytes ! ( "./print.wasm" ) [ ..] ) ?;
1616 let mut store = tinywasm:: Store :: default ( ) ;
1717 let mut imports = tinywasm:: Imports :: new ( ) ;
1818
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ fn run() -> tinywasm::Result<()> {
2828 let mut store = tinywasm:: Store :: default ( ) ;
2929 let mut imports = tinywasm:: Imports :: new ( ) ;
3030
31- let res = tinywasm:: parser:: Parser :: new ( ) . parse_module_bytes ( include_bytes ! ( "../out /print.wasm" ) ) ?;
31+ let res = tinywasm:: parser:: Parser :: new ( ) . parse_module_bytes ( include_bytes ! ( "./print.wasm" ) ) ?;
3232 let twasm = res. serialize_twasm ( ) ;
3333 let module = tinywasm:: Module :: parse_bytes ( & twasm) ?;
3434
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ fn tinywasm() -> Result<()> {
8282}
8383
8484fn tinywasm_no_std ( ) -> Result < ( ) > {
85- let module = Module :: parse_file ( "./examples/rust/out/tinywasm_no_std.opt. wasm" ) ?;
85+ let module = Module :: parse_file ( "./examples/rust/out/tinywasm_no_std.wasm" ) ?;
8686 let mut store = Store :: default ( ) ;
8787
8888 let mut imports = Imports :: new ( ) ;
You can’t perform that action at this time.
0 commit comments