-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
wasm-proposal:memory64Issues with the implementation of the memory64 wasm proposalIssues with the implementation of the memory64 wasm proposal
Description
Thanks for filing a bug report! Please fill out the TODOs below.
Note: if you want to report a security issue, please read our security policy!
Test Case
Wasm file uploaded
Steps to Reproduce
Run with wasmtime --wasm-features memory64
Expected Results
It runs
Actual Results
Fails with
Error: failed to run main module `C:\Users\ScottWaye\OneDrive\wasm64\1.wasm`
Caused by:
0: failed to instantiate "C:\\Users\\ScottWaye\\OneDrive\\wasm64\\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)`
Versions and Environment
Wasmtime version or commit: wasmtime 0.31.0
Operating system: Win10
Architecture: x64?
Extra Info
Looks like the wasi export is using 32 bit pointers when for memory64 shouldn't it be 64 bit?
Anything else you'd like to add?
1.zip
Metadata
Metadata
Assignees
Labels
wasm-proposal:memory64Issues with the implementation of the memory64 wasm proposalIssues with the implementation of the memory64 wasm proposal