mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Merge branch 'main' of github.com:roc-lang/roc into rust_version_upgrade
This commit is contained in:
commit
937722c462
36 changed files with 217 additions and 198 deletions
|
@ -719,7 +719,7 @@ pub fn rebuild_host(
|
|||
if matches!(opt_level, OptLevel::Optimize) {
|
||||
rustc_cmd.arg("-O");
|
||||
} else if matches!(opt_level, OptLevel::Size) {
|
||||
rustc_cmd.arg("-C opt-level=s");
|
||||
rustc_cmd.args(["-C", "opt-level=s"]);
|
||||
}
|
||||
|
||||
run_build_command(rustc_cmd, "host.rs", 0);
|
||||
|
@ -1100,7 +1100,7 @@ fn link_linux(
|
|||
// Keep NIX_ env vars
|
||||
.envs(
|
||||
env::vars()
|
||||
.filter(|&(ref k, _)| k.starts_with("NIX_"))
|
||||
.filter(|(k, _)| k.starts_with("NIX_"))
|
||||
.collect::<HashMap<String, String>>(),
|
||||
)
|
||||
.args([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue