Stream: git-wasmtime

Topic: wasmtime / issue #40 Examples for wasm2obj


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

bjorn3 commented on issue #40:

Wasm2obj has been deleted in favor of wasmtime compile, so this can be closed I think.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 13 2021 at 14:00):

alexcrichton closed issue #40:

I'm trying to get wasm2obj working using this wat:

(module
  (func $main
    ;; locals
    (local $a i32)

    ;; init
    (set_local $a (i32.const 128))

  )
  (start $main)
)

Then:

> wat2wasm example.wat -o example.wasm
> wasm2obj example.wasm -o output

error: Undeclared symbolic reference to: wasm_function[0]

Could a working example for wasm2obj be posted?

view this post on Zulip Wasmtime GitHub notifications bot (Sep 13 2021 at 14:00):

alexcrichton commented on issue #40:

Indeed


Last updated: Dec 23 2024 at 12:05 UTC