| author | |
| committer | |
| log | d79b3cc1342a6be32d2bf69554f0e15670a54f14 |
| tree | 463b8d845e4ab84a7bd803b4c72aa84bff0a62cf |
| parent | b206b0626ae8e4fd1c50097d2f376890a48d4518 |
Without allowing this, the references to `compiler_rt.dll` emitted by
the coff linker will prevent the executable from running.1 files changed, 1 insertions(+), 5 deletions(-)
src/target.zig+1-5| ... | ... | @@ -375,11 +375,7 @@ pub fn canBuildLibCompilerRt(target: *const std.Target) enum { no, yes, llvm_onl |
| 375 | 375 | else => {}, |
| 376 | 376 | } |
| 377 | 377 | return switch (zigBackend(target, false)) { |
| 378 | .stage2_aarch64 => .yes, | |
| 379 | .stage2_x86_64 => switch (target.ofmt) { | |
| 380 | .elf, .macho => .yes, | |
| 381 | else => .llvm_only, | |
| 382 | }, | |
| 378 | .stage2_aarch64, .stage2_x86_64 => .yes, | |
| 383 | 379 | else => .llvm_only, |
| 384 | 380 | }; |
| 385 | 381 | } |