diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2024-07-28 11:34:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-28 11:34:23 +0200 |
| commit | 91c17979f10db4fdc6639b176c0563718f060f47 (patch) | |
| tree | 7ae29768d6ad64678c389685752f2848ecec76ba /src/Compilation.zig | |
| parent | 1fba9e1280efb935e935f09a196ae35d5391ed48 (diff) | |
| parent | b20007daf74f44cfc86c5f2d2d7e2acde079e127 (diff) | |
| download | zig-91c17979f10db4fdc6639b176c0563718f060f47.tar.gz zig-91c17979f10db4fdc6639b176c0563718f060f47.zip | |
Merge pull request #20807 from Rexicon226/riscv
riscv: more backend progress
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index e9a8aa7774..cd46c0fc50 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -6334,6 +6334,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, }; |
