Browse Source

riscv64 added

Test on AllWinner D1 Nezha (Rv64GCV)

cc: @marler8997
Matheus C. França 2 years ago
parent
commit
9f8c5f98cd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      zigup.zig

+ 1 - 0
zigup.zig

@@ -15,6 +15,7 @@ const fixdeletetree = @import("fixdeletetree.zig");
 const arch = switch(builtin.cpu.arch) {
     .x86_64 => "x86_64",
     .aarch64 => "aarch64",
+    .riscv64 => "riscv64",
     else => @compileError("Unsupported CPU Architecture"),
 };
 const os = switch(builtin.os.tag) {