From 761783f54d1f5ecfaaefc466693f8912ed2e83f5 Mon Sep 17 00:00:00 2001 From: Ryan Liptak Date: Sat, 28 Jun 2025 19:37:24 -0700 Subject: [PATCH] resinator: Only preprocess when the input is an .rc file --- lib/compiler/resinator/main.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compiler/resinator/main.zig b/lib/compiler/resinator/main.zig index a96289ceec..bedea2c168 100644 --- a/lib/compiler/resinator/main.zig +++ b/lib/compiler/resinator/main.zig @@ -121,7 +121,7 @@ pub fn main() !void { }; const full_input = full_input: { - if (options.preprocess != .no) { + if (options.input_format == .rc and options.preprocess != .no) { var preprocessed_buf = std.ArrayList(u8).init(allocator); errdefer preprocessed_buf.deinit();