mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
split cmd args
This commit is contained in:
parent
4cd8f0a056
commit
7af408f58d
1 changed files with 1 additions and 1 deletions
|
@ -719,7 +719,7 @@ pub fn rebuild_host(
|
||||||
if matches!(opt_level, OptLevel::Optimize) {
|
if matches!(opt_level, OptLevel::Optimize) {
|
||||||
rustc_cmd.arg("-O");
|
rustc_cmd.arg("-O");
|
||||||
} else if matches!(opt_level, OptLevel::Size) {
|
} 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);
|
run_build_command(rustc_cmd, "host.rs", 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue