From ca4af3a47631d999e04630eec02a90629185df16 Mon Sep 17 00:00:00 2001 From: James Lavin Date: Mon, 24 Aug 2026 23:31:07 -0400 Subject: [PATCH] re-enable custom ERTS compilation by adding `comptime` --- src/wrapper.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrapper.zig b/src/wrapper.zig index 0b2255d..a28e4c6 100644 --- a/src/wrapper.zig +++ b/src/wrapper.zig @@ -219,7 +219,7 @@ fn install_dir_error(arena: std.mem.Allocator) void { } fn maybe_install_musl_runtime(io: Io) !void { - if (!std.mem.eql(u8, build_options.MUSL_RUNTIME_PATH, "")) { + if (comptime !std.mem.eql(u8, build_options.MUSL_RUNTIME_PATH, "")) { // Check if the file was already extracted using std.fs API (cross-platform) const file_exists = Io.Dir.cwd().statFile(io, build_options.MUSL_RUNTIME_PATH, .{}) catch null;