From 4a0d64300bd9ab1a8c35c634856396e3413200f1 Mon Sep 17 00:00:00 2001 From: Timon Kruiper Date: Mon, 14 Dec 2020 20:46:36 +0100 Subject: stage2: rename llvm.zig to llvm_bindings.zig Putting functions in this file will create functions like `llvm.function`, and the compiler thinks these are llvm intrinsics. --- src/link.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/link.zig') diff --git a/src/link.zig b/src/link.zig index 530bcd0b25..468f23bffd 100644 --- a/src/link.zig +++ b/src/link.zig @@ -567,7 +567,7 @@ pub const File = struct { std.debug.print("\n", .{}); } - const llvm = @import("llvm.zig"); + const llvm = @import("llvm_bindings.zig"); const os_type = @import("target.zig").osToLLVM(base.options.target.os.tag); const bad = llvm.WriteArchive(full_out_path_z, object_files.items.ptr, object_files.items.len, os_type); if (bad) return error.UnableToWriteArchive; -- cgit v1.2.3