| author | |
| committer | |
| log | 98253bc0eee2bace0ec1689126a8dd853d296877 |
| tree | 360bbbf160a9d7c9335125a7ae026f4091dfbc14 |
| parent | 9bb0b43ea3ababb715a15bba8c09ba71e9c3ccc2 |
--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| ... | ... | @@ -8116,7 +8116,7 @@ pub fn addLinkLib(comp: *Compilation, lib_name: []const u8) !void { |
| 8116 | 8116 | /// compiler-rt, libcxx, libc, libunwind, etc. |
| 8117 | 8117 | pub fn compilerRtOptMode(comp: Compilation) std.builtin.OptimizeMode { |
| 8118 | 8118 | if (comp.debug_compiler_runtime_libs) { |
| 8119 | return comp.root_mod.optimize_mode; | |
| 8119 | return .Debug; | |
| 8120 | 8120 | } |
| 8121 | 8121 | const target = &comp.root_mod.resolved_target.result; |
| 8122 | 8122 | switch (comp.root_mod.optimize_mode) { |