Commit a7498a6a53

David Rubin <daviru007@icloud.com>
2024-07-26 23:02:48
comp: enable compilation of zig_libc
1 parent 846bd40
Changed files (1)
src/Compilation.zig
@@ -6333,6 +6333,7 @@ fn canBuildZigLibC(target: std.Target, use_llvm: bool) bool {
     }
     return switch (target_util.zigBackend(target, use_llvm)) {
         .stage2_llvm => true,
+        .stage2_riscv64 => true,
         .stage2_x86_64 => if (target.ofmt == .elf or target.ofmt == .macho) true else build_options.have_llvm,
         else => build_options.have_llvm,
     };