| author | |
| committer | |
| log | 9656ec271c3ca1009c48c26a9a5c407d98bbcacd |
| tree | 29ba61893922aa914a846c0be32c2af9b2998f8c |
| parent | 173952f4b82713712fde873ffa31decb53ad4450 |
1 files changed, 4 insertions(+), 0 deletions(-)
src/Compilation.zig+4| ... | @@ -1041,6 +1041,10 @@ pub fn create(gpa: Allocator, options: InitOptions) !*Compilation { | ... | @@ -1041,6 +1041,10 @@ pub fn create(gpa: Allocator, options: InitOptions) !*Compilation { |
| 1041 | } | 1041 | } |
| 1042 | } | 1042 | } |
| 1043 | 1043 | ||
| 1044 | // If LLVM does not support the target, then we can't use it. | ||
| 1045 | if (!target_util.hasLlvmSupport(options.target, ofmt)) | ||
| 1046 | break :blk false; | ||
| 1047 | |||
| 1044 | break :blk build_options.is_stage1; | 1048 | break :blk build_options.is_stage1; |
| 1045 | }; | 1049 | }; |
| 1046 | 1050 |