zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit fa684bf42ff8b4df31096db3924873cf9433499d (tree)
parent a43973b3361946e233ea679ff6628b1bfc4579d1
Author: Sam Connelly <myclevorname@gmail.com>
Date:   Fri, 17 Apr 2026 08:58:32 -0400

Make *24 and *48 extern-compatible for ez80

Diffstat:
Msrc/Type.zig | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/Type.zig b/src/Type.zig @@ -3175,6 +3175,7 @@ pub fn validateExtern(ty: Type, position: ExternPosition, zcu: *const Zcu) bool }, .int => switch (ty.intInfo(zcu).bits) { 0, 8, 16, 32, 64, 128 => true, + 24, 48 => zcu.getTarget().cpu.arch == .ez80, else => false, }, .@"fn" => {