A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Remove unused `CompiledModule::module_mut` method (#11565)
Nick Fitzgeralde494c9fb4c53
diff --git a/crates/wasmtime/src/runtime/instantiate.rs b/crates/wasmtime/src/runtime/instantiate.rsindex 201b28b566..9d6be04d5c 100644--- a/crates/wasmtime/src/runtime/instantiate.rs+++ b/crates/wasmtime/src/runtime/instantiate.rs@@ -120,11 +120,6 @@ impl CompiledModule {Some(str::from_utf8(&data[name.offset as usize..][..name.len as usize]).unwrap())}- /// Return a reference to a mutable module (if possible).- pub fn module_mut(&mut self) -> Option<&mut Module> {- Arc::get_mut(&mut self.module)- }-/// Returns an iterator over all functions defined within this module with/// their index and their body in memory.#[inline]