| ... | ... | @@ -510,13 +510,18 @@ pub const Type = extern union { |
| 510 | 510 | .u8, |
| 511 | 511 | .i8, |
| 512 | 512 | .bool, |
| 513 | .array_u8_sentinel_0, |
| 514 | => return 1, |
| 515 | |
| 513 | 516 | .fn_noreturn_no_args, // represents machine code; not a pointer |
| 514 | 517 | .fn_void_no_args, // represents machine code; not a pointer |
| 515 | 518 | .fn_naked_noreturn_no_args, // represents machine code; not a pointer |
| 516 | 519 | .fn_ccc_void_no_args, // represents machine code; not a pointer |
| 517 | 520 | .function, // represents machine code; not a pointer |
| 518 | | .array_u8_sentinel_0, |
| 519 | | => return 1, |
| 521 | => return switch (target.cpu.arch) { |
| 522 | .riscv64 => 2, |
| 523 | else => 1, |
| 524 | }, |
| 520 | 525 | |
| 521 | 526 | .i16, .u16 => return 2, |
| 522 | 527 | .i32, .u32 => return 4, |