mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 14:24:43 +00:00
New API introduced: std.Build.addModule This function exposes a zig module with the given name, which can be used by packages that depend on this one via std.Build.Dependency.module. std.Build.Pkg and related functionality is deleted. Every use case has a straightforward upgrade path using the new Module struct. std.Build.OptionsStep.getPackage is replaced by std.Build.OptionsStep.createModule. std.Build.CompileStep.addPackagePath is replaced by std.Build.CompileStep.addAnonymousModule. This partially addresses #14307 by renaming some of the instances of "package" to "module". Closes #14278 |
||
|---|---|---|
| .. | ||
| CheckFileStep.zig | ||
| CheckObjectStep.zig | ||
| CompileStep.zig | ||
| ConfigHeaderStep.zig | ||
| EmulatableRunStep.zig | ||
| FmtStep.zig | ||
| InstallArtifactStep.zig | ||
| InstallDirStep.zig | ||
| InstallFileStep.zig | ||
| InstallRawStep.zig | ||
| LogStep.zig | ||
| OptionsStep.zig | ||
| RemoveDirStep.zig | ||
| RunStep.zig | ||
| Step.zig | ||
| TranslateCStep.zig | ||
| WriteFileStep.zig | ||