zig/lib
Andrew Kelley b29e3fa2cd std.Build: enhancements to ConfigHeaderStep
Breaking API change to std.Build.addConfigHeader. It now uses an options
struct.

Introduce std.Build.CompileStep.installConfigHeader which also accepts
an options struct. This is used to add a generated config file into the
set of installed header files for a particular compilation artifact.

std.Build.ConfigHeaderStep now additionally supports a "blank" style
where a header is generated from scratch. It no longer exposes
`output_dir`. Instead it exposes a FileSource via `output_file`.
It now additionally accepts an `include_path` option which affects the
include path of CompileStep when using the `#include` directive, as well
as affecting the default installation subdirectory for header
installation purposes.

The hash used for the directory to store the generated config file now
includes the contents of the generated file. This fixes possible race
conditions when generating multiple header files simultaneously.

The values hash table is now an array hash map, to preserve order for
the "blank" use case.

I also took the opportunity to remove output_dir from TranslateCStep and
WriteFileStep. This is technically a breaking change, but it was always
naughty to access these fields.
2023-02-05 06:26:30 -07:00
..
compiler_rt compiler_rt: fix and improve documentation 2023-02-04 17:23:03 +02:00
docs autodoc: fix search regression 2023-02-03 18:05:07 +01:00
include C backend: improve ergonomics of zig.h a little bit 2022-11-13 16:50:16 -07:00
init-exe fix init-exe, init-lib templates 2023-01-31 15:09:35 -07:00
init-lib fix init-exe, init-lib templates 2023-01-31 15:09:35 -07:00
libc mingw: stop using K&R-style function definitions 2023-02-01 22:11:16 -05:00
libcxx dragonfly: port libc++ 2023-01-02 19:18:33 -05:00
libcxxabi update libcxxabi to LLVM 15 2022-08-04 18:02:01 -07:00
libunwind update libunwind to LLVM 15 2022-08-04 18:09:10 -07:00
std std.Build: enhancements to ConfigHeaderStep 2023-02-05 06:26:30 -07:00
tsan
build_runner.zig std.Build: accept host Target in create() 2023-01-31 15:09:35 -07:00
c.zig Add support for mips64/mips64el 2023-02-04 15:19:53 -05:00
compiler_rt.zig compiler-rt: implement __udivei4 and __umodei4 (#14023) 2022-12-22 16:29:19 -05:00
ssp.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
test_runner.zig wasm: uses main instead of main2 for test runner 2023-01-26 17:49:43 +01:00
zig.h cbe: fixes for tls, support for not linking libc, and enabling tests 2023-01-29 15:04:13 -05:00