diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2024-09-11 22:48:12 +0200 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2024-09-11 22:48:12 +0200 |
| commit | c5f45ff56f7538944d92d5d318a01d10da04535c (patch) | |
| tree | 589c7c3af38c46441c798ce307c96acca637c314 /examples/rust/src/tinywasm.rs | |
| parent | 0ed6acf459ff941f3b20b3e7462e4ba1cf7fdbe5 (diff) | |
ci: improve no_std testing, add linux arm64
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'examples/rust/src/tinywasm.rs')
| -rw-r--r-- | examples/rust/src/tinywasm.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rust/src/tinywasm.rs b/examples/rust/src/tinywasm.rs index 08c8135..68e6375 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/print.wasm"))?; + let module = tinywasm::Module::parse_stream(&include_bytes!("../out/print.wasm")[..])?; let mut store = tinywasm::Store::default(); let mut imports = tinywasm::Imports::new(); |
