remove old compiler-rt workarounds for macos

This commit is contained in:
Brendan Hansknecht 2023-06-24 10:22:23 -07:00
parent addd513528
commit 4f97ab2965
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
15 changed files with 49 additions and 250 deletions

View file

@ -5,20 +5,6 @@ const expectEqual = testing.expectEqual;
const expect = testing.expect;
const maxInt = std.math.maxInt;
comptime {
// This is a workaround for https://github.com/ziglang/zig/issues/8218
// which is only necessary on macOS.
//
// Once that issue is fixed, we can undo the changes in
// 177cf12e0555147faa4d436e52fc15175c2c4ff0 and go back to passing
// -fcompiler-rt in link.rs instead of doing this. Note that this
// workaround is present in many host.zig files, so make sure to undo
// it everywhere!
if (builtin.os.tag == .macos) {
_ = @import("compiler_rt");
}
}
const mem = std.mem;
const Allocator = mem.Allocator;