mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
resinator: Only preprocess when the input is an .rc file
This commit is contained in:
parent
0adcfd60f4
commit
761783f54d
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue