mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-31 02:13:45 +00:00
remove old compiler-rt workarounds for macos
This commit is contained in:
parent
addd513528
commit
4f97ab2965
15 changed files with 49 additions and 250 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue