mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
fix dec calling convention for windows
This commit is contained in:
parent
f3e999169d
commit
08b25cb935
3 changed files with 84 additions and 35 deletions
|
@ -311,7 +311,9 @@ pub fn helper<'a>(
|
|||
src: &str,
|
||||
context: &'a inkwell::context::Context,
|
||||
) -> (&'static str, String, Library) {
|
||||
let target = target_lexicon::Triple::host();
|
||||
let mut target = target_lexicon::Triple::host();
|
||||
|
||||
target.operating_system = target_lexicon::OperatingSystem::Windows;
|
||||
|
||||
let (main_fn_name, delayed_errors, module) =
|
||||
create_llvm_module(arena, src, config, context, &target);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue