zig/lib
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
..
c libc: implement common abs for various integer sizes (#23893) 2025-05-21 00:57:38 +02:00
compiler std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
compiler_rt compiler-rt: Implement __clear_cache() for mips-netbsd 2025-07-07 09:05:07 +02:00
docs std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
fuzzer/web Fix compile error in Fuzzer web-ui (#23605) 2025-04-19 23:10:51 +02:00
include zig cc: Update intrinsic headers to Clang 20. 2025-04-04 06:08:09 +02:00
init std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
libc delete superfluous assembly libc floor implementations 2025-07-04 20:05:18 +02:00
libcxx libcxx: Fix locale-related compilation errors on NetBSD. 2025-06-06 11:22:20 +02:00
libcxxabi libcxxabi: Update to Clang 20. 2025-04-04 06:08:09 +02:00
libtsan libtsan: Backport llvm/llvm-project#120036. 2025-05-12 16:24:59 +02:00
libunwind libunwind: Fix return type of DwarfFDECache<A>::findFDE() 2025-06-30 06:40:17 +02:00
std std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
c.zig libc: implement common abs for various integer sizes (#23893) 2025-05-21 00:57:38 +02:00
compiler_rt.zig compiler-rt: Export _fltused for UEFI. 2025-06-16 13:46:23 +02:00
fuzzer.zig use correcct symbol for the end of pcguard section 2025-04-30 00:04:22 +02:00
ubsan_rt.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
zig.h x86_64: add support for pie executables 2025-06-06 23:42:14 -07:00