Add Export and GlobalDescriptor to Runtime API

This commit is contained in:
Brandon Fish
2019-04-02 22:10:49 -05:00
parent 63ab51442b
commit 1ff6ed6d1b
2 changed files with 5 additions and 1 deletions

View File

@ -207,6 +207,7 @@ pub enum Initializer {
GetGlobal(ImportedGlobalIndex),
}
/// Describes the mutability and type of a Global
#[derive(Serialize, Deserialize, Debug, Clone, Copy, PartialEq, Eq)]
pub struct GlobalDescriptor {
pub mutable: bool,