Skip to content

Commit

Permalink
Add the wasm backend
Browse files Browse the repository at this point in the history
  • Loading branch information
oovm committed Dec 12, 2023
1 parent 2e87077 commit ee719a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions projects/valkyrie-types/src/backends/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ impl ModuleResolver {
fields: Default::default(),
span: Default::default(),
})),
ModuleItem::External(_) => {}
}
}
builder
Expand Down
2 changes: 0 additions & 2 deletions projects/valkyrie-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#![feature(allocator_api)]
#![feature(never_type)]
#![feature(unboxed_closures)]
#![feature(iter_from_generator)]
#![feature(generators)]
#![feature(lazy_cell)]
#![feature(extend_one)]
#![feature(associated_type_defaults)]
Expand Down
2 changes: 2 additions & 0 deletions projects/valkyrie-types/src/modules/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ pub struct ModuleResolver {
}

pub enum ModuleItem {
External(ValkyrieSymbol),
Imported(ValkyrieSymbol),
Structure(ValkyrieStructure),
}

impl Debug for ModuleItem {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
match self {
Self::External(v) => Debug::fmt(v, f),
Self::Imported(v) => Debug::fmt(v, f),
Self::Structure(v) => Debug::fmt(v, f),
}
Expand Down

0 comments on commit ee719a5

Please sign in to comment.