zig/lib/std/heap
Andrew Kelley 0e37ff0d59 std.fmt: breaking API changes
added adapter to AnyWriter and GenericWriter to help bridge the gap
between old and new API

make std.testing.expectFmt work at compile-time

std.fmt no longer has a dependency on std.unicode. Formatted printing
was never properly unicode-aware. Now it no longer pretends to be.

Breakage/deprecations:
* std.fs.File.reader -> std.fs.File.deprecatedReader
* std.fs.File.writer -> std.fs.File.deprecatedWriter
* std.io.GenericReader -> std.io.Reader
* std.io.GenericWriter -> std.io.Writer
* std.io.AnyReader -> std.io.Reader
* std.io.AnyWriter -> std.io.Writer
* std.fmt.format -> std.fmt.deprecatedFormat
* std.fmt.fmtSliceEscapeLower -> std.ascii.hexEscape
* std.fmt.fmtSliceEscapeUpper -> std.ascii.hexEscape
* std.fmt.fmtSliceHexLower -> {x}
* std.fmt.fmtSliceHexUpper -> {X}
* std.fmt.fmtIntSizeDec -> {B}
* std.fmt.fmtIntSizeBin -> {Bi}
* std.fmt.fmtDuration -> {D}
* std.fmt.fmtDurationSigned -> {D}
* {} -> {f} when there is a format method
* format method signature
  - anytype -> *std.io.Writer
  - inferred error set -> error{WriteFailed}
  - options -> (deleted)
* std.fmt.Formatted
  - now takes context type explicitly
  - no fmt string
2025-07-07 22:43:51 -07:00
..
arena_allocator.zig std: eradicate u29 and embrace std.mem.Alignment 2025-04-13 02:20:32 -04:00
debug_allocator.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
FixedBufferAllocator.zig std.mem.Allocator: introduce remap function to the interface 2025-02-06 14:23:23 -08:00
memory_pool.zig std: eradicate u29 and embrace std.mem.Alignment 2025-04-13 02:20:32 -04:00
PageAllocator.zig update std.heap.PageAllocator Windows implementation to remove race condition and utilize NtAllocateVirtualMemory / NtFreeVirtualMemory instead of VirtualAlloc and VirtualFree 2025-03-04 22:01:08 -06:00
sbrk_allocator.zig Fix build failure in sbrk allocator, caused by #20511 2025-02-17 15:37:19 +01:00
SmpAllocator.zig std.heap.SmpAllocator: back to simple free 2025-02-08 16:46:56 -08:00
ThreadSafeAllocator.zig std.heap.ThreadSafeAllocator: update to new Allocator API 2025-02-06 14:23:23 -08:00
WasmAllocator.zig std: eradicate u29 and embrace std.mem.Alignment 2025-04-13 02:20:32 -04:00