Commit 11badbfe8e

Alex Rønne Petersen <alex@alexrp.com>
2024-06-22 14:28:29
musl: Fix needsCrtiCrtn() to return false for riscv32 too.
1 parent 390c7d8
Changed files (1)
src/musl.zig
@@ -301,6 +301,7 @@ pub fn buildCRTFile(comp: *Compilation, crt_file: CRTFile, prog_node: std.Progre
 pub fn needsCrtiCrtn(target: std.Target) bool {
     // zig fmt: off
     return switch (target.cpu.arch) {
+        .riscv32,
         .riscv64,
         .wasm32, .wasm64 => return false,
         else => true,