aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2020-12-20 11:52:25 +0100
committerJakub Konka <kubkon@jakubkonka.com>2021-01-02 15:30:14 +0100
commit763d8073774ae0b77014187a75b2167522c44079 (patch)
treeb590c771c0a5bf19dbc04d0fe29152ada879e15c /src/Compilation.zig
parent91a35e1a922e865ca0e9beb43a2be2c5552fc494 (diff)
downloadzig-763d8073774ae0b77014187a75b2167522c44079.tar.gz
zig-763d8073774ae0b77014187a75b2167522c44079.zip
Duplicate OSAtomic.h between aarch64 and x86_64
The reason this is required is for two reasons: 1) the libc targeting `aarch64` macOS is slightly newer than that targeting `x86_64`, and 2) `OSAtomic.h` uses relative imports rather than system-wide imports for accompanying headers which clearly is an oversight on Apple's part. Until such time when `libkern` headers between `x86_64` and `aarch64` are identical, this will require a manual intervention to duplicate the relevant headers between the respective architectures.
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index 4fd0e54aa8..33376d46d2 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -2888,7 +2888,6 @@ fn buildOutputFromZig(
.directory = null, // Put it in the cache directory.
.basename = bin_basename,
};
-
const sub_compilation = try Compilation.create(comp.gpa, .{
.global_cache_directory = comp.global_cache_directory,
.local_cache_directory = comp.global_cache_directory,