diff --git a/lib/compiler_rt.zig b/lib/compiler_rt.zig index 3ffaf9f0e5..5cce3daf29 100644 --- a/lib/compiler_rt.zig +++ b/lib/compiler_rt.zig @@ -108,7 +108,6 @@ comptime { _ = @import("compiler_rt/sqrt.zig"); _ = @import("compiler_rt/tan.zig"); _ = @import("compiler_rt/trunc.zig"); - _ = @import("compiler_rt/stack_probe.zig"); _ = @import("compiler_rt/divti3.zig"); _ = @import("compiler_rt/modti3.zig"); _ = @import("compiler_rt/multi3.zig"); @@ -211,6 +210,7 @@ comptime { if (@import("builtin").object_format != .c) { _ = @import("compiler_rt/atomics.zig"); + _ = @import("compiler_rt/stack_probe.zig"); // macOS has these functions inside libSystem. if (builtin.cpu.arch.isAARCH64() and !builtin.os.tag.isDarwin()) {