Cleans up the WASM environment handling.
Instead of passing the entire script resolver as a pointer to the WebAssemblyEnv, we now have split off the data actually relevant to the environment into it's own class, which is stored inside of an Arc.
This commit is contained in:
@@ -10,6 +10,7 @@ pub mod script_resolver;
|
||||
/// us to not call a function if we do not need to.
|
||||
#[derive(Debug, Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash)]
|
||||
#[allow(missing_docs)]
|
||||
#[allow(clippy::missing_docs_in_private_items)]
|
||||
pub enum WebAssemblyScriptCapabilities {
|
||||
None = 0,
|
||||
Initialize = 1,
|
||||
|
||||
Reference in New Issue
Block a user