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 committed Jan 9, 2023
1 parent a3232c6 commit 2bbaf95
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 2bbaf95

Please sign in to comment.