WIP add script for zig platforms glue source

This commit is contained in:
Luke Boswell 2024-07-28 12:07:09 +10:00
parent a5d99668a8
commit 697bdb9262
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
4 changed files with 15 additions and 16 deletions

View file

@ -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