mirror of
https://github.com/ziglang/zig.git
synced 2026-02-05 14:07:04 +00:00
better default for use_stage1 when -ofmt=c is provided
This commit is contained in:
parent
173952f4b8
commit
9656ec271c
@ -1041,6 +1041,10 @@ pub fn create(gpa: Allocator, options: InitOptions) !*Compilation {
|
||||
}
|
||||
}
|
||||
|
||||
// If LLVM does not support the target, then we can't use it.
|
||||
if (!target_util.hasLlvmSupport(options.target, ofmt))
|
||||
break :blk false;
|
||||
|
||||
break :blk build_options.is_stage1;
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user