mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
stop zig from automatically stripping with opt-size
This commit is contained in:
parent
0a3760b6bb
commit
6b191fcfc2
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ pub fn build_zig_host_native(
|
|||
if matches!(opt_level, OptLevel::Optimize) {
|
||||
zig_cmd.args(["-O", "ReleaseSafe"]);
|
||||
} else if matches!(opt_level, OptLevel::Size) {
|
||||
zig_cmd.args(["-O", "ReleaseSmall"]);
|
||||
zig_cmd.args(["-O", "ReleaseSmall", "-fno-strip"]);
|
||||
}
|
||||
|
||||
zig_cmd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue