Add an archiver API to the build system (opens in new tab)
There should be an API for creating archives (tar, tar.gz) in std.build. Why: We should not rely on code distribution platforms (github, codeberg, etc) to create code archives for releases. It’s important for zig to own the full process of distributing code to reduce our dependencies. It’s non-trivial to create build-artifact quality archives. Some thorns are: file permissions, file names (cross platform stuff), file modification times (binary reproducibilty) The std.build API could provide s...
Read the original article