diff options
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 16 |
1 files changed, 2 insertions, 14 deletions
@@ -175,8 +175,8 @@ pub fn build(b: *std.Build) void { // core.module. const root_set = core.module(b, parts, .{ .root = if (platform == .macos) "runtime/macos.zig" else "runtime/main.zig", .platform = platform, .builtin_addons = compiled_in, .tracy = true, .util = true }); const root_mod = root_set.root; - // hxdiff's headless core and pardes-isolate are the primary shell's - // configuration compiled two more ways, not two more frontends. + // hxdiff's headless core is the primary shell's configuration compiled + // another way, not another frontend. const core_cfg: core.Core = .{ .root = "core/root.zig", .platform = platform, .builtin_addons = compiled_in, .tracy = true }; const core_set = core.module(b, parts, core_cfg); const core_module = core_set.root; @@ -186,7 +186,6 @@ pub fn build(b: *std.Build) void { // and shell-test runs them all with one. const lean_cfg: core.Core = .{ .root = "core/root.zig", .platform = platform, .builtin_addons = compiled_in, .terminal = false }; const core_lean = core.module(b, parts, lean_cfg); - const isolated_mod: ?*std.Build.Module = if (platform == .tui) core.module(b, parts, .{ .root = "runtime/main.zig", .platform = platform, .builtin_addons = compiled_in, .isolated = true }).root else null; // `zig build static`'s: the addons compiled in (Addon.zig). Linked // statically on musl alone, as glibc links only dynamically; the gui's // is dynamic (SDL and the GPU need the display's libraries) with the @@ -270,17 +269,6 @@ pub fn build(b: *std.Build) void { static_step.dependOn(&b.addFail("static is the terminal's on musl (-Dplatform=tui -Dtarget=x86_64-linux-musl) or the gui's (-Dplatform=gui)").step); const run = b.addRunArtifact(exe); b.step("run", "descend to the pardes").dependOn(&run.step); - if (isolated_mod) |iso| { - const iso_exe = b.addExecutable(.{ - .name = "pardes-isolate", - .root_module = iso, - }); - const run_iso = b.addRunArtifact(iso_exe); - // Something to look at on arrival, read out of the binary itself. - run_iso.addPassthruArgs(); - const iso_step = b.step("run-isolated", "descend to a pardes with no host but the terminal"); - iso_step.dependOn(&run_iso.step); - } const addon_libs: []const *std.Build.Step.Compile = if (a.pdf.lib) |l| b.allocator.dupe(*std.Build.Step.Compile, &.{ a.image_addon, l }) catch @panic("OOM") else &.{a.image_addon}; // The scripted language server the tests' sessions and the tty cases ask. |
