| ... | ... | @@ -536,6 +536,8 @@ fn genToc(allocator: *mem.Allocator, tokenizer: *Tokenizer) !Toc { |
| 536 | 536 | target_str = "x86_64-windows"; |
| 537 | 537 | } else if (mem.eql(u8, end_tag_name, "target_linux_x86_64")) { |
| 538 | 538 | target_str = "x86_64-linux"; |
| 539 | } else if (mem.eql(u8, end_tag_name, "target_linux_riscv64")) { |
| 540 | target_str = "riscv64-linux"; |
| 539 | 541 | } else if (mem.eql(u8, end_tag_name, "target_wasm")) { |
| 540 | 542 | target_str = "wasm32-freestanding"; |
| 541 | 543 | } else if (mem.eql(u8, end_tag_name, "target_wasi")) { |
| ... | ... | @@ -1128,6 +1130,7 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var |
| 1128 | 1130 | |
| 1129 | 1131 | if (code.target_str) |triple| { |
| 1130 | 1132 | if (mem.startsWith(u8, triple, "wasm32") or |
| 1133 | mem.startsWith(u8, triple, "riscv64-linux") or |
| 1131 | 1134 | mem.startsWith(u8, triple, "x86_64-linux") and |
| 1132 | 1135 | (builtin.os != .linux or builtin.arch != .x86_64)) |
| 1133 | 1136 | { |