zig/lib/std/os
Nick Cernis 8a5818535b
Make invalidFmtError public and use in place of compileErrors for bad format strings (#13526)
* Export invalidFmtErr

To allow consistent use of "invalid format string" compile error
response for badly formatted format strings.

See https://github.com/ziglang/zig/pull/13489#issuecomment-1311759340.

* Replace format compile errors with invalidFmtErr

- Provides more consistent compile errors.
- Gives user info about the type of the badly formated value.

* Rename invalidFmtErr as invalidFmtError

For consistency. Zig seems to use “Error” more often than “Err”.

* std: add invalid format string checks to remaining custom formatters

* pass reference-trace to comp when building build file; fix checkobjectstep
2022-11-12 21:03:24 +02:00
..
linux Fixes to linux/bpf/btf.zig 2022-11-09 17:14:22 +02:00
plan9 plan9: more syscalls 2021-11-09 07:08:27 -05:00
uefi change uefi packed structs to new integer backed syntax (#13173) 2022-10-30 15:08:32 -04:00
windows std: Replace use of stage1 function pointers 2022-09-29 21:45:30 +03:00
darwin.zig macos: update Mach routines for accessing page info 2022-03-17 10:42:11 +01:00
linux.zig Merge pull request #13418 from ryanschneider/signal-alignment-13216 2022-11-09 17:36:40 +02:00
plan9.zig remove 'builtin.stage2_arch', Sema is smart enough now 2022-08-07 16:07:08 -07:00
posix_spawn.zig std.c: fix incorrect return types 2022-10-13 13:21:19 +02:00
test.zig Merge pull request #13418 from ryanschneider/signal-alignment-13216 2022-11-09 17:36:40 +02:00
uefi.zig Make invalidFmtError public and use in place of compileErrors for bad format strings (#13526) 2022-11-12 21:03:24 +02:00
wasi.zig std: WASI - update to latest snapshot preview 1 2022-10-03 22:48:57 -04:00
windows.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30