zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit a7498a6a53b2aa50274aa425c91e2e449a736cf4 (tree)
parent 846bd4036154e82fae5d9385c3e349c99840ac5f
Author: David Rubin <daviru007@icloud.com>
Date:   Fri, 26 Jul 2024 14:02:48 -0700

comp: enable compilation of zig_libc

Diffstat:
Msrc/Compilation.zig | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/Compilation.zig b/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, };