We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72e7e1b commit dd57117Copy full SHA for dd57117
crates/wasmi/src/module/mod.rs
@@ -129,6 +129,7 @@ impl ModuleHeader {
129
}
130
131
/// Returns the [`FuncIdx`] for the given [`EngineFunc`].
132
+ #[expect(unused)]
133
pub fn get_func_index(&self, func: EngineFunc) -> Option<FuncIdx> {
134
let position = self.inner.engine_funcs.position(func)?;
135
let len_imports = self.inner.imports.len_funcs as u32;
0 commit comments