Stream: wasi

Topic: add_to_linker


view this post on Zulip Emiel Van Severen (Apr 11 2023 at 15:09):

preview2 does not expose add_to_linker for wasi anymore? where do I get the correct linker?

view this post on Zulip Joel Dice (Apr 11 2023 at 15:52):

I think this may be what you're looking for: https://github.com/bytecodealliance/preview2-prototyping/blob/d3bd2bc36a9caed047002e62561fc439c391df47/host/src/command.rs#L16. Pat is working on getting that moved to the wasmtime repo, but for now you need to get it from the preview2-prototyping repo.

Polyfill adapter for preview1-using wasm modules to call preview2 functions. - preview2-prototyping/command.rs at d3bd2bc36a9caed047002e62561fc439c391df47 · bytecodealliance/preview2-prototyping

view this post on Zulip Emiel Van Severen (Apr 11 2023 at 15:59):

Thanks Joel!


Last updated: Oct 23 2024 at 20:03 UTC