Skip to content

Commit e9a6def

Browse files
authored
Remove unused wasmtime::runtime::vm::Instance::exports method (#12579)
1 parent d79844a commit e9a6def

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

crates/wasmtime/src/runtime/vm/instance.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -715,15 +715,6 @@ impl Instance {
715715
crate::Tag::from_raw(StoreInstanceId::new(store, id), def_index)
716716
}
717717

718-
/// Return an iterator over the exports of this instance.
719-
///
720-
/// Specifically, it provides access to the key-value pairs, where the keys
721-
/// are export names, and the values are export declarations which can be
722-
/// resolved `lookup_by_declaration`.
723-
pub fn exports(&self) -> wasmparser::collections::index_map::Iter<'_, String, EntityIndex> {
724-
self.env_module().exports.iter()
725-
}
726-
727718
/// Grow memory by the specified amount of pages.
728719
///
729720
/// Returns `None` if memory can't be grown by the specified amount

0 commit comments

Comments
 (0)