diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-21 17:15:19 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-21 17:15:19 -0300 |
| commit | 9c4d668c926e2d9eae6ef87cd9b391d8185605f9 (patch) | |
| tree | cdccd5eb93590e70734d929325a478273c28fa80 /build.zig.zon | |
| parent | 534c084fb7ab8e3776b25017c901899964490a5d (diff) | |
| download | cloud9-9c4d668c926e2d9eae6ef87cd9b391d8185605f9.tar.gz cloud9-9c4d668c926e2d9eae6ef87cd9b391d8185605f9.zip | |
Package 9harness: the published tarball was missing it
build.zig @imports each program's build fragment unconditionally, so a
program absent from .paths builds fine from a checkout and fails for
every consumer with
zig-pkg/cloud9-.../9harness/build.zig: unable to load 'build.zig': FileNotFound
9ns and 9proc were listed; 9harness was not, from the change that added
it. A pardes build against cloud9 main found it — the first consumer to
try. Nothing in the suites covers "the package a dependent fetches
actually builds", which is why it went unnoticed.
Diffstat (limited to 'build.zig.zon')
| -rw-r--r-- | build.zig.zon | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/build.zig.zon b/build.zig.zon index a7a4e3b..d042fe3 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -3,5 +3,15 @@ .fingerprint = 0xc8b2d5eaa3adfca, .version = "0.1.0", .minimum_zig_version = "0.16.0", - .paths = .{ "build.zig", "build.zig.zon", "src", "web", "test", "docs", "README.md", "9ns", "9proc" }, + // Every directory build.zig reaches into must be here, or the + // published package cannot build: build.zig @imports each program's + // build fragment unconditionally, so a program missing from this + // list is a FileNotFound for every consumer, while building fine + // from a checkout. 9harness was exactly that until a pardes build + // caught it. + .paths = .{ + "build.zig", "build.zig.zon", "src", "web", + "test", "docs", "README.md", + "9ns", "9proc", "9harness", + }, } |
