| author | |
| committer | |
| log | 35ee3747ebe344b619c66b23053d3f2495956423 |
| tree | cdcbea3410447f5380bdbfad476468eb046ec2d0 |
| parent | bd1b47733bc7565187d4a7c806afec03401bbf25 |
On s390x the cache line size is 256 so this check was failing. That's
not useful, just check only for more common cache line sizes.1 files changed, 1 insertions(+), 1 deletions(-)
lib/compiler/Maker/Step.zig+1-1| ... | ... | @@ -73,7 +73,7 @@ comptime { |
| 73 | 73 | // Common cache line size is 128. This check prevents accidentally crossing |
| 74 | 74 | // an additional cache line. In the future it might be nice to try to fit |
| 75 | 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 | 79 | pub const Extended = union(enum) { |