mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Get function_builder compiling
This commit is contained in:
parent
dc80623d45
commit
4563e2af49
4 changed files with 415 additions and 190 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue