peterhuene opened PR #1914 from fix-musl-unwind to master:
When targeting musl, libunwind is used for the
__register_frame
implementation.Unlike when targeting libgcc which expects an entire frame table, the libunwind
implementation expects a single FDE.This change ensures Wasmtime registers each individual FDE when targeting musl.
Fixes #1904.
peterhuene requested yurydelendik for a review on PR #1914.
peterhuene updated PR #1914 from fix-musl-unwind to master:
When targeting musl, libunwind is used for the
__register_frame
implementation.Unlike when targeting libgcc which expects an entire frame table, the libunwind
implementation expects a single FDE.This change ensures Wasmtime registers each individual FDE when targeting musl.
Fixes #1904.
yurydelendik submitted PR Review.
yurydelendik submitted PR Review.
peterhuene updated PR #1914 from fix-musl-unwind to master:
When targeting musl, libunwind is used for the
__register_frame
implementation.Unlike when targeting libgcc which expects an entire frame table, the libunwind
implementation expects a single FDE.This change ensures Wasmtime registers each individual FDE when targeting musl.
Fixes #1904.
peterhuene updated PR #1914 from fix-musl-unwind to master:
When targeting musl, libunwind is used for the
__register_frame
implementation.Unlike when targeting libgcc which expects an entire frame table, the libunwind
implementation expects a single FDE.This change ensures Wasmtime registers each individual FDE when targeting musl.
Fixes #1904.
peterhuene requested yurydelendik for a review on PR #1914.
yurydelendik submitted PR Review.
alexcrichton submitted PR Review.
alexcrichton submitted PR Review.
alexcrichton created PR Review Comment:
AFAIK
target_env = ""doesn't happen that often on Linux (I'm not sure it ever does), so that may be safe to drop here? Since this seems to be glibc-specific behavior for now it may be best to stick to justtarget_env = "gnu"anyway too
alexcrichton submitted PR Review.
peterhuene created PR Review Comment:
Yeah, just going off the docs:
Thus, for example, on many GNU platforms, this value will be empty
I'll drop it for now and merge.
peterhuene submitted PR Review.
peterhuene edited PR Review Comment.
peterhuene updated PR #1914 from fix-musl-unwind to master:
When targeting musl, libunwind is used for the
__register_frame
implementation.Unlike when targeting libgcc which expects an entire frame table, the libunwind
implementation expects a single FDE.This change ensures Wasmtime registers each individual FDE when targeting musl.
Fixes #1904.
alexcrichton edited PR #1914 from fix-musl-unwind to main:
When targeting musl, libunwind is used for the
__register_frame
implementation.Unlike when targeting libgcc which expects an entire frame table, the libunwind
implementation expects a single FDE.This change ensures Wasmtime registers each individual FDE when targeting musl.
Fixes #1904.
alexcrichton closed without merge PR #1914.
peterhuene reopened PR #1914 from fix-musl-unwind to main:
When targeting musl, libunwind is used for the
__register_frame
implementation.Unlike when targeting libgcc which expects an entire frame table, the libunwind
implementation expects a single FDE.This change ensures Wasmtime registers each individual FDE when targeting musl.
Fixes #1904.
peterhuene merged PR #1914.
Last updated: Jan 10 2026 at 20:04 UTC