diff options
| author | Ali Cheraghi <alichraghi@proton.me> | 2025-04-30 18:42:23 +0330 |
|---|---|---|
| committer | Matthew Lugg <mlugg@mlugg.co.uk> | 2025-11-22 22:42:38 +0000 |
| commit | dec1163fbb892f276179ae74b51007c656157d99 (patch) | |
| tree | 7efa4ebe2ffb6876ffd6de0f417303232f559d87 /src/link.zig | |
| parent | ce0df033cf2bb6986c6c226786e6543d05e29a77 (diff) | |
| download | zig-dec1163fbb892f276179ae74b51007c656157d99.tar.gz zig-dec1163fbb892f276179ae74b51007c656157d99.zip | |
all: replace all `@Type` usages
Co-authored-by: Matthew Lugg <mlugg@mlugg.co.uk>
Diffstat (limited to 'src/link.zig')
| -rw-r--r-- | src/link.zig | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/link.zig b/src/link.zig index 31ba3aca7d..6be88490b0 100644 --- a/src/link.zig +++ b/src/link.zig @@ -51,10 +51,7 @@ pub const Diags = struct { const Int = blk: { const bits = @typeInfo(@This()).@"struct".fields.len; - break :blk @Type(.{ .int = .{ - .signedness = .unsigned, - .bits = bits, - } }); + break :blk @Int(.unsigned, bits); }; pub fn anySet(ef: Flags) bool { |
