mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
Just disable gc-sections with surgical linker for rust hosts for now
This commit is contained in:
parent
754130d25f
commit
e6c137889a
6 changed files with 8 additions and 115 deletions
|
@ -385,6 +385,7 @@ pub fn rebuild_host(
|
|||
command.arg("--release");
|
||||
}
|
||||
let source_file = if shared_lib_path.is_some() {
|
||||
command.env("RUSTFLAGS", "-C link-dead-code");
|
||||
command.args(&["--bin", "host"]);
|
||||
"src/main.rs"
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue