| ... | @@ -73,7 +73,7 @@ comptime { | ... | @@ -73,7 +73,7 @@ comptime { |
| 73 | // Common cache line size is 128. This check prevents accidentally crossing | 73 | // Common cache line size is 128. This check prevents accidentally crossing |
| 74 | // an additional cache line. In the future it might be nice to try to fit | 74 | // an additional cache line. In the future it might be nice to try to fit |
| 75 | // this struct in 128 bytes or less. | 75 | // this struct in 128 bytes or less. |
| 76 | assert(@sizeOf(@This()) <= 128 * 3); | 76 | if (std.atomic.cache_line <= 128) assert(@sizeOf(@This()) <= 128 * 3); |
| 77 | } | 77 | } |
| 78 | | 78 | |
| 79 | pub const Extended = union(enum) { | 79 | pub const Extended = union(enum) { |