diff options
| author | Timon Kruiper <timonkruiper@gmail.com> | 2020-12-14 20:46:36 +0100 |
|---|---|---|
| committer | Timon Kruiper <timonkruiper@gmail.com> | 2020-12-28 21:15:13 +0100 |
| commit | 4a0d64300bd9ab1a8c35c634856396e3413200f1 (patch) | |
| tree | f545e425f612b1bfbcbe69f388b595df434accf9 /src/link.zig | |
| parent | c81ae52ee0b2e952f8ed9c5c6517af8182bb09c1 (diff) | |
| download | zig-4a0d64300bd9ab1a8c35c634856396e3413200f1.tar.gz zig-4a0d64300bd9ab1a8c35c634856396e3413200f1.zip | |
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.
Diffstat (limited to 'src/link.zig')
| -rw-r--r-- | src/link.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
