Hi, is memory64 enabled in wasmtime 0.31? I get
error: Found argument '--enable-memory64' which wasn't expected, or isn't valid in this context
Did you mean --enable-multi-memory?
@Scott Waye oh the flag is --wasm-features memory64
, the --enable-*
flags are the "old way" at this point
Thank you!
Scott Waye has marked this topic as resolved.
In case any comes here, it's --wasm_features=memory64
<- dont forget the =
I take that back, I'm just confusing myself. I think I do have a problem with the signature of fd_write though, is that possible:
C:\github\wasm64>wasmtime --wasm-features memory64 1.wasm
Error: failed to run main module `1.wasm`
Caused by:
0: failed to instantiate "1.wasm"
1: incompatible import type for `wasi_snapshot_preview1::fd_write`
2: function types incompatible: expected func of type `(i32, i64, i64, i64) -> (i32)`, found func of type `(i32, i32, i32, i32) -> (i32)`
Scott Waye has marked this topic as unresolved.
Last updated: Nov 22 2024 at 17:03 UTC