| ... | @@ -301,6 +301,7 @@ pub fn buildCRTFile(comp: *Compilation, crt_file: CRTFile, prog_node: std.Progre | ... | @@ -301,6 +301,7 @@ pub fn buildCRTFile(comp: *Compilation, crt_file: CRTFile, prog_node: std.Progre |
| 301 | pub fn needsCrtiCrtn(target: std.Target) bool { | 301 | pub fn needsCrtiCrtn(target: std.Target) bool { |
| 302 | // zig fmt: off | 302 | // zig fmt: off |
| 303 | return switch (target.cpu.arch) { | 303 | return switch (target.cpu.arch) { |
| | 304 | .riscv32, |
| 304 | .riscv64, | 305 | .riscv64, |
| 305 | .wasm32, .wasm64 => return false, | 306 | .wasm32, .wasm64 => return false, |
| 306 | else => true, | 307 | else => true, |