zig/lib/std/Build
mlugg 6168b8ef86
std.Build: add API to create Compile steps from existing module
This commit amends `std.Build.ExecutableOptions` etc to have a new
field, `root_module`, which allows artifacts to be created whose root
module is an existing `*Module` rather than a freshly constructed one.
This API can be far more versatile, allowing construction of complex
module graphs before creating any compile steps, and therefore also
allowing easy reuse of modules.

The fields which correspond to module options, such as
`root_source_file`, are all considered deprecated. They may not be
populated at the same time as the `root_module` field. In the next
release cycle, these deprecated fields will be removed, and the
`root_module` field made non-optional.
2024-12-18 01:48:54 +05:00
..
Cache std.Build.Cache.Path: fix single-quote escaping format 2024-10-10 14:21:52 -07:00
Fuzz Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
Step std.Build: add API to create Compile steps from existing module 2024-12-18 01:48:54 +05:00
Cache.zig std.Build.Cache.hit: work around macOS kernel bug 2024-12-11 11:56:44 -08:00
Fuzz.zig Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
Module.zig std.Build: simplify module dependency handling 2024-12-18 01:47:51 +05:00
Step.zig std.Build.Cache.hit: work around macOS kernel bug 2024-12-11 11:56:44 -08:00
Watch.zig std.Build.Watch: implement removing watches for kqueue 2024-10-24 23:31:56 -07:00