Skip to content

Commit

Permalink
Merge pull request #11828 from devins2518/arm-atomics
Browse files Browse the repository at this point in the history
compiler_rt: aarch64 outline atomics
  • Loading branch information
andrewrk authored Nov 22, 2022
2 parents 7c527c6 + 545c311 commit 271cc52
Show file tree
Hide file tree
Showing 3 changed files with 2,572 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/compiler_rt.zig
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
const builtin = @import("builtin");

pub const panic = @import("compiler_rt/common.zig").panic;

comptime {
_ = @import("compiler_rt/atomics.zig");

// macOS has these functions inside libSystem.
if (builtin.cpu.arch.isAARCH64() and !builtin.os.tag.isDarwin()) {
_ = @import("compiler_rt/aarch64_outline_atomics.zig");
}

_ = @import("compiler_rt/addf3.zig");
_ = @import("compiler_rt/addhf3.zig");
_ = @import("compiler_rt/addsf3.zig");
Expand Down
Loading

0 comments on commit 271cc52

Please sign in to comment.