| author | |
| committer | |
| log | 71687b30a24dc4468944620a5e1514077e6d5325 |
| tree | 251f38b687b39bd38a258ff7166c760791c3e788 |
| parent | 503ba7b27c6e8e248d271aec936623853cd8fcd1 |
1 files changed, 4 insertions(+), 2 deletions(-)
src-self-hosted/main.zig+4-2| ... | @@ -725,8 +725,10 @@ pub fn buildOutputType( | ... | @@ -725,8 +725,10 @@ pub fn buildOutputType( |
| 725 | } | 725 | } |
| 726 | } | 726 | } |
| 727 | 727 | ||
| 728 | if (want_sanitize_c == true and build_mode == .ReleaseFast) { | 728 | if (want_sanitize_c) |wsc| { |
| 729 | build_mode = .ReleaseSafe; | 729 | if (wsc and build_mode == .ReleaseFast) { |
| 730 | build_mode = .ReleaseSafe; | ||
| 731 | } | ||
| 730 | } | 732 | } |
| 731 | 733 | ||
| 732 | if (only_pp_or_asm) { | 734 | if (only_pp_or_asm) { |