zig/lib/std/Build/Step
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
..
CheckFile.zig make zig compiler processes live across rebuilds 2024-07-14 19:51:16 -07:00
CheckObject.zig std.Build.Step.CheckObject: display source file path 2024-10-10 14:21:52 -07:00
Compile.zig std.Build: simplify module dependency handling 2024-12-18 01:47:51 +05:00
ConfigHeader.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
Fail.zig make zig compiler processes live across rebuilds 2024-07-14 19:51:16 -07:00
Fmt.zig Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
InstallArtifact.zig fix various issues related to Path handling in the compiler and std 2024-08-19 19:09:11 +02:00
InstallDir.zig make zig compiler processes live across rebuilds 2024-07-14 19:51:16 -07:00
InstallFile.zig make zig compiler processes live across rebuilds 2024-07-14 19:51:16 -07:00
ObjCopy.zig std.Build: remove deprecated APIs 2024-12-18 01:47:50 +05:00
Options.zig std.Build: remove deprecated APIs 2024-12-18 01:47:50 +05:00
RemoveDir.zig make zig compiler processes live across rebuilds 2024-07-14 19:51:16 -07:00
Run.zig std.Build: simplify module dependency handling 2024-12-18 01:47:51 +05:00
TranslateC.zig std.Build: add API to create Compile steps from existing module 2024-12-18 01:48:54 +05:00
UpdateSourceFiles.zig make zig compiler processes live across rebuilds 2024-07-14 19:51:16 -07:00
WriteFile.zig make zig compiler processes live across rebuilds 2024-07-14 19:51:16 -07:00