| author | |
| committer | |
| log | 47b136e3b353932d754c359ae63a1206842d0d70 |
| tree | 8ac7cfe4a016bf0210cc47b912e1e5c7913877d3 |
| parent | a6ce2fc3dce018964f73cf88f127ec43bf901b6e |
This is based on @kubkon's suggestion.1 files changed, 1 insertions(+), 0 deletions(-)
src/target.zig+1| ... | ... | @@ -669,6 +669,7 @@ pub fn defaultFunctionAlignment(target: std.Target) u32 { |
| 669 | 669 | return switch (target.cpu.arch) { |
| 670 | 670 | .arm, .armeb => 4, |
| 671 | 671 | .aarch64, .aarch64_32, .aarch64_be => 4, |
| 672 | .sparc, .sparcel, .sparcv9 => 4, | |
| 672 | 673 | .riscv64 => 2, |
| 673 | 674 | else => 1, |
| 674 | 675 | }; |