aboutsummaryrefslogtreecommitdiff
path: root/src/Sema.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-06-02 16:09:59 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-06-10 20:47:59 -0700
commit7c12e064c4e6cd7ea2243a665984e5c49bc94229 (patch)
tree9f2a07da4eb41d84555990d5f0c099a36e5af9d0 /src/Sema.zig
parente23b0a01e6357252eb2c08a83eff9169ce49042c (diff)
downloadzig-7c12e064c4e6cd7ea2243a665984e5c49bc94229.tar.gz
zig-7c12e064c4e6cd7ea2243a665984e5c49bc94229.zip
Sema: reword compile error about LLVM extensions and C import
Diffstat (limited to 'src/Sema.zig')
-rw-r--r--src/Sema.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sema.zig b/src/Sema.zig
index 4d9fc201a1..be354ff350 100644
--- a/src/Sema.zig
+++ b/src/Sema.zig
@@ -5451,7 +5451,7 @@ fn zirCImport(sema: *Sema, parent_block: *Block, inst: Zir.Inst.Index) CompileEr
// we check this here to avoid undefined symbols
if (!@import("build_options").have_llvm)
- return sema.fail(parent_block, src, "cannot do C import on Zig compiler not built with LLVM-extension", .{});
+ return sema.fail(parent_block, src, "C import unavailable; Zig compiler built without LLVM extensions", .{});
var c_import_buf = std.ArrayList(u8).init(sema.gpa);
defer c_import_buf.deinit();