| author | |
| committer | |
| log | 135f1915daf8583a4dee81691da70cbeb14004f8 |
| tree | e7108c0602bcf31260c0f3fac25fb1b274e43d36 |
| parent | c40dbd6ff098e9df91cfe3f602419869293e889b |
| signature |
--debug-rt previously would make rt libs match the root module. Now they
are always debug when --debug-rt is passed. This includes compiler-rt,
fuzzer lib, and others.1 files changed, 1 insertions(+), 1 deletions(-)
src/Compilation.zig+1-1| ... | ... | @@ -8093,7 +8093,7 @@ pub fn addLinkLib(comp: *Compilation, lib_name: []const u8) !void { |
| 8093 | 8093 | /// compiler-rt, libcxx, libc, libunwind, etc. |
| 8094 | 8094 | pub fn compilerRtOptMode(comp: Compilation) std.builtin.OptimizeMode { |
| 8095 | 8095 | if (comp.debug_compiler_runtime_libs) { |
| 8096 | return comp.root_mod.optimize_mode; | |
| 8096 | return .Debug; | |
| 8097 | 8097 | } |
| 8098 | 8098 | const target = &comp.root_mod.resolved_target.result; |
| 8099 | 8099 | switch (comp.root_mod.optimize_mode) { |