zig/lib/std/build
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
..
CheckFileStep.zig std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00
CheckObjectStep.zig Make invalidFmtError public and use in place of compileErrors for bad format strings (#13526) 2022-11-12 21:03:24 +02:00
EmulatableRunStep.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
FmtStep.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
InstallRawStep.zig all: rename @maximum to @max and @minimum to @min 2022-10-18 14:15:16 +03:00
OptionsStep.zig Fix Step.cast for OptionsStep and CheckObjectStep 2022-09-29 14:41:39 +03:00
RunStep.zig std: fix EmulatableRunStep 2022-08-21 16:42:11 +02:00
TranslateCStep.zig Enables std.build.TranslateCStep to use stage1/stage2 selectively. Unbreaks projects using stage1 and manual TranslateC 2022-08-24 15:41:27 -04:00
WriteFileStep.zig std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00