mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-13 09:01:21 +00:00
Improved test generation
This commit is contained in:
@ -178,6 +178,11 @@ impl ImportObject {
|
||||
}
|
||||
out
|
||||
}
|
||||
|
||||
/// Returns true if the ImportObject contains namespace with the provided name.
|
||||
pub fn contains_namespace(&self, name: &str) -> bool {
|
||||
self.map.lock().unwrap().borrow().contains_key(name)
|
||||
}
|
||||
}
|
||||
|
||||
/// Iterator for an `ImportObject`'s exports.
|
||||
|
Reference in New Issue
Block a user