mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
gen_dev: generate and link zig builtins.
This commit is contained in:
parent
6293fbfade
commit
7d24d51392
10 changed files with 322 additions and 95 deletions
|
@ -282,6 +282,7 @@ fn link_linux(
|
|||
.collect::<HashMap<String, String>>(),
|
||||
)
|
||||
.args(&[
|
||||
"--gc-sections",
|
||||
"--eh-frame-hdr",
|
||||
"-arch",
|
||||
arch_str(target),
|
||||
|
@ -350,6 +351,7 @@ fn link_macos(
|
|||
// Don't allow LD_ env vars to affect this
|
||||
.env_clear()
|
||||
.args(&[
|
||||
"--gc-sections",
|
||||
link_type_arg,
|
||||
"-arch",
|
||||
target.architecture.to_string().as_str(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue