wasmerio/wasmer · error
Trap code {trap:?} not supported
Error message
Trap code {trap:?} not supported What it means
Error "Trap code {trap:?} not supported" thrown in wasmerio/wasmer.
Source
Thrown at lib/compiler-cranelift/src/compiler.rs:863
TrapCode::TableAccessOutOfBounds
} else if trap == crate::TRAP_INDIRECT_CALL_TO_NULL {
TrapCode::IndirectCallToNull
} else if trap == crate::TRAP_BAD_SIGNATURE {
TrapCode::BadSignature
} else if trap == ir::TrapCode::INTEGER_OVERFLOW {
TrapCode::IntegerOverflow
} else if trap == ir::TrapCode::INTEGER_DIVISION_BY_ZERO {
TrapCode::IntegerDivisionByZero
} else if trap == ir::TrapCode::BAD_CONVERSION_TO_INTEGER {
TrapCode::BadConversionToInteger
} else if trap == crate::TRAP_UNREACHABLE {
TrapCode::UnreachableCodeReached
} else if trap == crate::TRAP_INTERRUPT {
unimplemented!("Interrupts not supported")
} else if trap == crate::TRAP_NULL_REFERENCE || trap == crate::TRAP_NULL_I31_REF {
unimplemented!("Null reference not supported")
} else {
unimplemented!("Trap code {trap:?} not supported")
}
}
View on GitHub (pinned to 8c4b9ee9d3)
When it happens
Trigger: Thrown at lib/compiler-cranelift/src/compiler.rs:863 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of wasmerio/wasmer@8c4b9ee9d3 (2026-09-01).
Data as JSON: /api/errors/105a5f1d7cda3f0c.
Report an issue: GitHub.