support i386 (no linking yet)

This commit is contained in:
Folkert 2021-09-04 01:31:33 +02:00
parent 2954b582a7
commit a7eeae05ca
8 changed files with 127 additions and 53 deletions

View file

@ -172,7 +172,7 @@ fn create_llvm_module<'a>(
}
let builder = context.create_builder();
let module = roc_gen_llvm::llvm::build::module_from_builtins(context, "app", ptr_bytes);
let module = roc_gen_llvm::llvm::build::module_from_builtins(target, context, "app");
let module = arena.alloc(module);
let (module_pass, function_pass) =