diff --git a/lib/std/atomic/int.zig b/lib/std/atomic/int.zig index 2ec280732b..45e176a472 100644 --- a/lib/std/atomic/int.zig +++ b/lib/std/atomic/int.zig @@ -8,7 +8,7 @@ const builtin = @import("std").builtin; /// Thread-safe, lock-free integer pub fn Int(comptime T: type) type { - return struct { + return extern struct { unprotected_value: T, pub const Self = @This();