summaryrefslogtreecommitdiff
path: root/build.zig.zon
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig.zon')
-rw-r--r--build.zig.zon18
1 files changed, 18 insertions, 0 deletions
diff --git a/build.zig.zon b/build.zig.zon
index 2d745db6..380a5d8a 100644
--- a/build.zig.zon
+++ b/build.zig.zon
@@ -179,6 +179,24 @@
.url = "git+https://github.com/allyourcodebase/freetype#884fd2235e6ae1ec4306eda30b3259f20930ed2e",
.hash = "freetype-2.14.3-C3-WdXSKAAB-kHs4qgRoeoFnRkNQn6M_SSlUGZ6ywgBQ",
},
+ // The ESP32-P4 toolchain: the SoC/HAL/register layer, the generated
+ // linker script, the ELF->image builder, the ROM flasher and the
+ // interactive serial console. A PATH dependency, because it is a
+ // sibling checkout rather than something to pin a commit of, and
+ // because the firmware build reads an ESP-IDF checkout off this
+ // machine anyway.
+ //
+ // Safe to declare unconditionally, and that is measured rather than
+ // assumed. The failure this whole seam exists to avoid runs the OTHER
+ // way: nesting THIS package's ~30-package graph under that one broke
+ // every build there (std/Build.zig:2091's comptime branch quota over
+ // the enlarged dependency table, plus seven cached tree_sitter
+ // versions whose build.zig no longer compiles on 0.16) — see
+ // src/esp32p4.zig:8-15. In this direction there is nothing to enlarge:
+ // zig_p4 declares no dependencies at all, so it adds exactly zero
+ // packages here, and its `build()` early-returns when it is not the
+ // root package. Not lazy, because `build.zig` @imports it.
+ .zig_p4 = .{ .path = "../05-zig-p4" },
},
.minimum_zig_version = "0.16.0",
.paths = .{""},