# std.atomic: make cache_line const a comptime_int · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/d31bda13cb1ece7dd2ba22339172a8704a84823c)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: d31bda13cb1ece7dd2ba22339172a8704a84823c

Requested commit: d31bda13cb1ece7dd2ba22339172a8704a84823c

Commit: d31bda13cb1ece7dd2ba22339172a8704a84823c

Tree: bf7e5b7a613a8736e467d8c4f7aece44177b291f

Author: Kiëd Llaentenn

Committer: Alex Rønne Petersen

## Message

```
std.atomic: make cache_line const a comptime_int

This fixes potential issues and unintended coercions in other areas,
such as std.ArrayList.

```

## Parents

- [339b628d4c8a850c6d819e88fb3b84b86e8b5927](https://git.cafe/gitcafe/zig/commit/339b628d4c8a850c6d819e88fb3b84b86e8b5927?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/d31bda13cb1ece7dd2ba22339172a8704a84823c?format=markdown)
