-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
build system terminology update: package, project, module, dependency #14307
Copy link
Copy link
Open
Labels
acceptedThis proposal is planned.This proposal is planned.breakingImplementing this issue could cause existing code to no longer compile or have different behavior.Implementing this issue could cause existing code to no longer compile or have different behavior.proposalThis issue suggests modifications. If it also has the "accepted" label then it is planned.This issue suggests modifications. If it also has the "accepted" label then it is planned.zig build systemstd.Build, the build runner, `zig build` subcommand, package managementstd.Build, the build runner, `zig build` subcommand, package management
Milestone
Metadata
Metadata
Assignees
Labels
acceptedThis proposal is planned.This proposal is planned.breakingImplementing this issue could cause existing code to no longer compile or have different behavior.Implementing this issue could cause existing code to no longer compile or have different behavior.proposalThis issue suggests modifications. If it also has the "accepted" label then it is planned.This issue suggests modifications. If it also has the "accepted" label then it is planned.zig build systemstd.Build, the build runner, `zig build` subcommand, package managementstd.Build, the build runner, `zig build` subcommand, package management
Type
Projects
Status
Urgent Enhancements
Status Quo
@import.std.build.LibExeObjStep.The Problem
We have been using the word "package" already, including in build system APIs:
zig/lib/std/build.zig
Lines 1479 to 1483 in d813cef
zig/lib/std/build/LibExeObjStep.zig
Lines 977 to 980 in d813cef
However, people are 100% going to say "package" when they mean "project". This is unavoidable, inescapable, and we should not fight against it, but rather embrace it. That leaves us with the following lingo:
@import.Ambiguity strikes ruthlessly.
The Solution
Our hero is the word "module". The word "project" is no longer needed.
@import.std.build.LibExeObjStep.I would also like to rename
LibExeObjSteptoCompilationArtifactwhile we're at it.This issue is to do the following things: