Get function_builder compiling

This commit is contained in:
Brian Carroll 2021-10-22 10:38:53 +02:00
parent dc80623d45
commit 4563e2af49
4 changed files with 415 additions and 190 deletions

View file

@ -3,6 +3,7 @@ mod code_builder;
pub mod from_wasm32_memory;
mod function_builder;
mod layout;
mod opcodes;
mod storage;
use bumpalo::collections::Vec;
@ -207,3 +208,7 @@ pub fn pop_stack_frame(
SetGlobal(STACK_POINTER_GLOBAL_ID),
]);
}
pub fn debug_panic<E: std::fmt::Debug>(error: E) {
panic!("{:?}", error);
}