wasmerio/wasmer · error

custom-descriptors not implemented yet

Error message

custom-descriptors not implemented yet

What it means

Error "custom-descriptors not implemented yet" thrown in wasmerio/wasmer.

Source

Thrown at lib/api/src/utils/polyfill.rs:673

                        mutability: ty.mutable.into(),
                    },
                    module_name,
                    field_name,
                )?;
            }
            TypeRef::Table(ref tab) => {
                module_info.declare_table_import(
                    TableType {
                        ty: wpreftype_to_type(tab.element_type)?,
                        minimum: tab.initial as u32,
                        maximum: tab.maximum.map(|v| v as u32),
                        readonly: false,
                    },
                    module_name,
                    field_name,
                )?;
            }
            TypeRef::FuncExact(_) => unimplemented!("custom-descriptors not implemented yet"),
        }
    }
    Ok(())
}

/// Parses the Function section of the wasm module.
pub fn parse_function_section(
    functions: FunctionSectionReader,
    module_info: &mut ModuleInfoPolyfill,
) -> WasmResult<()> {
    let num_functions = functions.count();
    module_info.reserve_func_types(num_functions)?;

    for entry in functions {
        let sigindex = entry.map_err(transform_err)?;
        module_info.declare_func_type(SignatureIndex::from_u32(sigindex))?;
    }

View on GitHub (pinned to 8c4b9ee9d3)

When it happens

Trigger: Thrown at lib/api/src/utils/polyfill.rs:673 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/e6d2d83f181c29b9. Report an issue: GitHub.