std: mark std.atomic.Int as extern so it can be used in public ABIs
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user