# std.atomic: remove some APIs · gitcafe/zig

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

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

Visibility: public

Requested revision: 1fa2e911d923d9f843f1f179db28ab815d4a105d

Requested commit: 1fa2e911d923d9f843f1f179db28ab815d4a105d

Commit: 1fa2e911d923d9f843f1f179db28ab815d4a105d

Tree: 7184e51747cbfeb6d42b5eb1a849423a34f9a1ec

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.atomic: remove some APIs

* remove `std.atomic.Ordering`
  - it is provided by the language with `std.builtin.AtomicOrder`.
* remove `std.atomic.fence`
  - it is provided by the language with `@fence`.
* remove `std.atomic.compilerFence`
  - if this is desired, it should be a language feature, not a standard
    library function with inline asm.

```

## Parents

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

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