mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-23 13:41:32 +00:00
Add imported globals
This commit is contained in:
@ -148,8 +148,8 @@ pub mod converter {
|
||||
F64Const(val) => Const(f64::from_bits(val).into()),
|
||||
GlobalInit::GetGlobal(index) => {
|
||||
WasmerInitializer::GetGlobal(WasmerGlobalIndex::new(index.index()))
|
||||
}
|
||||
Import => unimplemented!("TODO: imported globals are not supported yet!"),
|
||||
},
|
||||
GlobalInit::Import => WasmerInitializer::Import
|
||||
};
|
||||
|
||||
WasmerGlobal { desc, init }
|
||||
|
Reference in New Issue
Block a user