summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig5
1 files changed, 1 insertions, 4 deletions
diff --git a/build.zig b/build.zig
index a3df919f..f553c1ce 100644
--- a/build.zig
+++ b/build.zig
@@ -231,7 +231,6 @@ pub fn build(b: *std.Build) void {
var core_mods_buf: [6]*std.Build.Module = undefined;
var core_shells_buf: [6]Platform = undefined;
var core_mods_len: usize = 0;
- // root_mod FIRST: the module map below is folded out of its import table.
for ([_]CoreMod{
.{ .mod = root_mod, .shell = platform },
// hxdiff's headless core and pardes-isolate are the primary shell's
@@ -254,7 +253,7 @@ pub fn build(b: *std.Build) void {
// `b.dependency` below would end the configure to fetch its own alone.
const ts = treeSitter(b, io, target, c_optimize, tree_sitter_grammars);
inline for (.{ "cloud9", "vaxis", "ghostty", "uucode", "zstbi", "mvzr", "zstd", "xitdb" }) |name| {
- // One by path (cloud9, until its pin returns) is there already.
+ // A dependency by path (none of these today) has no hash and is always there.
const dep = @field(zon.dependencies, name);
if (@hasField(@TypeOf(dep), "hash")) if (!std.Build.package_map.get(dep.hash).?.available) {
_ = b.lazyDependency(name, .{});
@@ -740,8 +739,6 @@ pub fn build(b: *std.Build) void {
// library and no allocator hook of its own (it takes Zig allocators).
const xitdb_mod = b.dependency("xitdb", .{ .target = target, .optimize = optimize }).module("xitdb");
- // One call per module instead of one line per module per dependency, and
- // BEFORE the fold below, which reads what these imports put in the table.
// The image addon (addons/image/image.zig over stb_image, stb.c),
// installed by its step and handed by path to every test that opens a
// picture.