diff --git a/lib/compiler/Maker/Step.zig b/lib/compiler/Maker/Step.zig index e9669a9118a30f91a1eee73ac95b90e2e0cce53f..b4fd26fe66c7ab94dba29b35bafec882fd2b8723 100644 --- a/lib/compiler/Maker/Step.zig +++ b/lib/compiler/Maker/Step.zig @@ -73,7 +73,7 @@ comptime { // Common cache line size is 128. This check prevents accidentally crossing // an additional cache line. In the future it might be nice to try to fit // this struct in 128 bytes or less. - assert(@sizeOf(@This()) <= 128 * 3); + if (std.atomic.cache_line <= 128) assert(@sizeOf(@This()) <= 128 * 3); } pub const Extended = union(enum) {