wasmerio/wasmer · error
No backend available
Error message
No backend available
What it means
Error "No backend available" thrown in wasmerio/wasmer.
Source
Thrown at lib/api/src/entities/function/host/imp.rs:59
#[cfg(feature = "sys")]
fn function_callback_sys(&self) -> crate::vm::VMFunctionCallback {
paste::paste! {
crate::vm::VMFunctionCallback::Sys(crate::backend::sys::function::[<gen_fn_callback_ $c_struct_name:lower >](self))
}
}
#[allow(non_snake_case)]
fn call_trampoline_address() -> crate::vm::VMTrampoline {
paste::paste! {
#[cfg(feature = "sys")]
{
crate::vm::VMTrampoline::Sys(crate::backend::sys::function::[<gen_call_trampoline_address_ $c_struct_name:lower >]::<$($x,)* Rets>())
}
#[cfg(not(feature = "sys"))]
{
unimplemented!("No backend available")
}
}
}
}
// Implement `HostFunction` for a function that has the same arity than the tuple.
#[allow(unused_parens)]
impl< $( $x, )* Rets, RetsAsResult, Func >
crate::HostFunction<(), ( $( $x ),* ), Rets, WithoutEnv>
for
Func
where
$( $x: FromToNativeWasmType, )*
Rets: WasmTypeList,
RetsAsResult: IntoResult<Rets>,
Func: Fn($( $x , )*) -> RetsAsResult + 'static
{
#[allow(non_snake_case)]View on GitHub (pinned to 8c4b9ee9d3)
When it happens
Trigger: Thrown at lib/api/src/entities/function/host/imp.rs:59 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/22ca7159b5d89d70.
Report an issue: GitHub.