Stream: wasmtime

Topic: Using wasmtime with LTO


view this post on Zulip Jonathan Coates (Feb 12 2023 at 17:09):

Is anyone aware of any changes between Wasmtime 4.0 and 5.0 which might affect Fat LTO? I'm getting linkage errors due to a missing _ZN16wasmtime_runtime8libcalls11trampolines25impl_table_grow_externref17hcf2c6f25ec53e0a8E symbol, and I'm not quite sure why - I can't see anything obvious in the git log which touches this code.

view this post on Zulip bjorn3 (Feb 12 2023 at 17:32):

https://github.com/bytecodealliance/wasmtime/pull/5459 seems related. Maybe a rustc bug?

Avoids extra #[no_mangle] functions and undue symbols being exposed from Wasmtime. This is a newly stabilized feature in Rust 1.66.0. I've also added a rust-version entry to the wasmtime crate to t...

view this post on Zulip Jonathan Coates (Feb 12 2023 at 18:00):

Yeah, I fear you may be right :(. Will have a go with Rust nightly.
Thank you :)


Last updated: Dec 23 2024 at 13:07 UTC