| ... | @@ -5451,7 +5451,7 @@ fn zirCImport(sema: *Sema, parent_block: *Block, inst: Zir.Inst.Index) CompileEr | ... | @@ -5451,7 +5451,7 @@ fn zirCImport(sema: *Sema, parent_block: *Block, inst: Zir.Inst.Index) CompileEr |
| 5451 | | 5451 | |
| 5452 | // we check this here to avoid undefined symbols | 5452 | // we check this here to avoid undefined symbols |
| 5453 | if (!@import("build_options").have_llvm) | 5453 | if (!@import("build_options").have_llvm) |
| 5454 | return sema.fail(parent_block, src, "cannot do C import on Zig compiler not built with LLVM-extension", .{}); | 5454 | return sema.fail(parent_block, src, "C import unavailable; Zig compiler built without LLVM extensions", .{}); |
| 5455 | | 5455 | |
| 5456 | var c_import_buf = std.ArrayList(u8).init(sema.gpa); | 5456 | var c_import_buf = std.ArrayList(u8).init(sema.gpa); |
| 5457 | defer c_import_buf.deinit(); | 5457 | defer c_import_buf.deinit(); |