mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
emit LLVM IR that can be compiled to wasm
This commit is contained in:
parent
5a7a9e9520
commit
0a7f7a2772
9 changed files with 33 additions and 25 deletions
|
@ -169,7 +169,7 @@ pub fn helper<'a>(
|
|||
}
|
||||
|
||||
let builder = context.create_builder();
|
||||
let module = roc_gen_llvm::llvm::build::module_from_builtins(context, "app");
|
||||
let module = roc_gen_llvm::llvm::build::module_from_builtins(context, "app", ptr_bytes);
|
||||
|
||||
let opt_level = if cfg!(debug_assertions) {
|
||||
OptLevel::Normal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue