diff options
| author | Linus Groh <mail@linusgroh.de> | 2025-03-05 03:17:54 +0000 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-07-11 08:17:43 +0200 |
| commit | eb375525366ba51c3f626cf9b27d97fc81e2c938 (patch) | |
| tree | babf69fdb1cd163a81ecb4c23581a628bbf1f9ce /lib/std/atomic.zig | |
| parent | d83b95cbf4895027b1730ef6025df4fe01beba26 (diff) | |
| download | zig-eb375525366ba51c3f626cf9b27d97fc81e2c938.tar.gz zig-eb375525366ba51c3f626cf9b27d97fc81e2c938.zip | |
Remove numerous things deprecated during the 0.14 release cycle
Basically everything that has a direct replacement or no uses left.
Notable omissions:
- std.ArrayHashMap: Too much fallout, needs a separate cleanup.
- std.debug.runtime_safety: Too much fallout.
- std.heap.GeneralPurposeAllocator: Lots of references to it remain, not
a simple find and replace as "debug allocator" is not equivalent to
"general purpose allocator".
- std.io.Reader: Is being reworked at the moment.
- std.unicode.utf8Decode(): No replacement, needs a new API first.
- Manifest backwards compat options: Removal would break test data used
by TestFetchBuilder.
- panic handler needs to be a namespace: Many tests still rely on it
being a function, needs a separate cleanup.
Diffstat (limited to 'lib/std/atomic.zig')
| -rw-r--r-- | lib/std/atomic.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/std/atomic.zig b/lib/std/atomic.zig index 4ff8f0c3b9..194f645975 100644 --- a/lib/std/atomic.zig +++ b/lib/std/atomic.zig @@ -10,8 +10,6 @@ pub fn Value(comptime T: type) type { return .{ .raw = value }; } - pub const fence = @compileError("@fence is deprecated, use other atomics to establish ordering"); - pub inline fn load(self: *const Self, comptime order: AtomicOrder) T { return @atomicLoad(T, &self.raw, order); } |
