authorgravatar for squeek502@hotmail.comRyan Liptak <squeek502@hotmail.com> 2025-06-28 19:37:24-07:00
committergravatar for squeek502@hotmail.comRyan Liptak <squeek502@hotmail.com> 2025-06-28 19:43:22-07:00
log761783f54d1f5ecfaaefc466693f8912ed2e83f5
tree793bca35614f44afea33b877d3886e9d334f0af5
parent0adcfd60f4fcfd01c74a6477cbcef187ce06f533

resinator: Only preprocess when the input is an .rc file


1 files changed, 1 insertions(+), 1 deletions(-)

lib/compiler/resinator/main.zig+1-1
......@@ -121,7 +121,7 @@ pub fn main() !void {
121121 };
122122
123123 const full_input = full_input: {
124 if (options.preprocess != .no) {
124 if (options.input_format == .rc and options.preprocess != .no) {
125125 var preprocessed_buf = std.ArrayList(u8).init(allocator);
126126 errdefer preprocessed_buf.deinit();
127127