zig/lib/std/Build/Step
Andrew Kelley c20ad51c62 introduce std.Build.Module and extract some logic into it
This moves many settings from `std.Build.Step.Compile` and into
`std.Build.Module`, and then makes them transitive.

In other words, it adds support for exposing Zig modules in packages,
which are configured in various ways, such as depending on other link
objects, include paths, or even a different optimization mode.

Now, transitive dependencies will be included in the compilation, so you
can, for example, make a Zig module depend on some C source code, and
expose that Zig module in a package.

Currently, the compiler frontend autogenerates only one
`@import("builtin")` module for the entire compilation, however, a
future enhancement will be to make it honor the differences in modules,
so that modules can be compiled with different optimization modes, code
model, valgrind integration, or even target CPU feature set.

closes #14719
2024-01-01 17:51:18 -07:00
..
CheckFile.zig Build.zig rename orgy (aka: #16353). Renames FileSource to LazyPath and removes functions that take literal paths instead of LazyPath. 2023-07-30 11:18:50 -07:00
CheckObject.zig lib/std/Build/CheckObject: split dyld info into subsections for easier scoped testing 2023-12-13 13:53:05 +01:00
Compile.zig introduce std.Build.Module and extract some logic into it 2024-01-01 17:51:18 -07:00
ConfigHeader.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
Fmt.zig
InstallArtifact.zig std.Build.Step.InstallArtifact: disable emit-h 2023-07-30 17:22:54 -07:00
InstallDir.zig update for the std.fs.Dir changes 2023-11-22 15:24:57 -07:00
InstallFile.zig Build.zig rename orgy (aka: #16353). Renames FileSource to LazyPath and removes functions that take literal paths instead of LazyPath. 2023-07-30 11:18:50 -07:00
ObjCopy.zig build/ObjCopy: strip debug info to a separate elf file. 2023-08-12 09:54:35 +02:00
Options.zig x86_64: fix behavior of getValue 2023-10-26 21:45:58 -04:00
RemoveDir.zig std.Build: use create() instead of init() for Step.RemoveDir 2023-10-21 17:48:25 +03:00
Run.zig introduce std.Build.Module and extract some logic into it 2024-01-01 17:51:18 -07:00
TranslateC.zig tests: translate-c and run-translated-c to the test harness 2023-10-17 11:55:17 +03:00
WriteFile.zig std.Build.Step.WriteFile: fix call to nonexistent function 2023-07-31 14:23:57 +02:00