commit 2a3d9c321e95af5fea54321015fd4a579e0c4158 (tree)
parent 91e489174bc3f2ceb508f067a289ee1d9625bcb3
Author: Jacob Young <jacobly0@users.noreply.github.com>
Date: Tue, 6 Dec 2022 03:27:37 -0500
compiler_rt: remove stack probe functions from c builds
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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()) {