mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
WIP add script for zig platforms glue source
This commit is contained in:
parent
a5d99668a8
commit
697bdb9262
4 changed files with 15 additions and 16 deletions
|
@ -171,10 +171,6 @@ pub fn build_zig_host_native(
|
|||
zig_cmd.args([
|
||||
zig_host_src,
|
||||
&format!("-femit-bin={emit_bin}"),
|
||||
"--mod",
|
||||
&format!("glue::{}", find_zig_glue_path().to_str().unwrap()),
|
||||
"--deps",
|
||||
"glue",
|
||||
// include libc
|
||||
"-lc",
|
||||
// cross-compile?
|
||||
|
@ -243,10 +239,6 @@ pub fn build_zig_host_native(
|
|||
zig_cmd.args(&[
|
||||
zig_host_src,
|
||||
&format!("-femit-bin={}", emit_bin),
|
||||
"--mod",
|
||||
&format!("glue::{}", find_zig_glue_path().to_str().unwrap()),
|
||||
"--deps",
|
||||
"glue",
|
||||
// include the zig runtime
|
||||
// "-fcompiler-rt", compiler-rt causes segfaults on windows; investigate why
|
||||
// include libc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue