Stream: git-wasmtime

Topic: wasmtime / issue #2 wasm2obj: Implement memory initializers


view this post on Zulip Wasmtime GitHub notifications bot (Sep 10 2021 at 17:59):

akirilov-arm commented on issue #2:

@alexcrichton Since you removed wasm2obj in PR #3301, I suppose this is no longer relevant :smile:?

view this post on Zulip Wasmtime GitHub notifications bot (Sep 11 2021 at 17:39):

alexcrichton commented on issue #2:

Indeed!

view this post on Zulip Wasmtime GitHub notifications bot (Sep 11 2021 at 17:39):

alexcrichton closed issue #2:

of the test files, only call does not have memory initializer. I'd like to see it implemented, or at least stubbed out, so I can examine the object files produced.

RUST_BACKTRACE=1 cargo run --bin wasm2obj -- memory.wasm -o memory.o
    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
     Running `target/debug/wasm2obj memory.wasm -o memory.o`
%wasm_0x0(0): relocs: []
 error: FIXME: implement data initializers

How much work would it be to implement this, or at least add stubs so it doesn't stop the entire binary emission process?


Last updated: Oct 23 2024 at 20:03 UTC