diff --git a/crates/core/src/lib.rs b/crates/core/src/lib.rs index 167fe23c7a..351a973f3f 100644 --- a/crates/core/src/lib.rs +++ b/crates/core/src/lib.rs @@ -77,6 +77,11 @@ impl Default for Config { inner.async_support(true); inner.epoch_interruption(true); inner.wasm_component_model(true); + // If targeting musl, disable native unwind to address this issue: + // https://github.com/fermyon/spin/issues/2889 + // TODO: remove this when wasmtime is updated to >= v27.0.0 + #[cfg(all(target_os = "linux", target_env = "musl"))] + inner.native_unwind_info(false); if use_pooling_allocator_by_default() { // By default enable the pooling instance allocator in Wasmtime. This