authorgravatar for jacobly@ziglang.orgJacob Young <jacobly@ziglang.org> 2022-12-06 03:27:37-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-12-06 12:27:28-07:00
log2a3d9c321e95af5fea54321015fd4a579e0c4158
tree16dfb58cbd68839a40315337db24cddf0dd4800f
parent91e489174bc3f2ceb508f067a289ee1d9625bcb3

compiler_rt: remove stack probe functions from c builds


1 files changed, 1 insertions(+), 1 deletions(-)

lib/compiler_rt.zig+1-1
...@@ -108,7 +108,6 @@ comptime {...@@ -108,7 +108,6 @@ comptime {
108 _ = @import("compiler_rt/sqrt.zig");108 _ = @import("compiler_rt/sqrt.zig");
109 _ = @import("compiler_rt/tan.zig");109 _ = @import("compiler_rt/tan.zig");
110 _ = @import("compiler_rt/trunc.zig");110 _ = @import("compiler_rt/trunc.zig");
111 _ = @import("compiler_rt/stack_probe.zig");
112 _ = @import("compiler_rt/divti3.zig");111 _ = @import("compiler_rt/divti3.zig");
113 _ = @import("compiler_rt/modti3.zig");112 _ = @import("compiler_rt/modti3.zig");
114 _ = @import("compiler_rt/multi3.zig");113 _ = @import("compiler_rt/multi3.zig");
...@@ -211,6 +210,7 @@ comptime {...@@ -211,6 +210,7 @@ comptime {
211210
212 if (@import("builtin").object_format != .c) {211 if (@import("builtin").object_format != .c) {
213 _ = @import("compiler_rt/atomics.zig");212 _ = @import("compiler_rt/atomics.zig");
213 _ = @import("compiler_rt/stack_probe.zig");
214214
215 // macOS has these functions inside libSystem.215 // macOS has these functions inside libSystem.
216 if (builtin.cpu.arch.isAARCH64() and !builtin.os.tag.isDarwin()) {216 if (builtin.cpu.arch.isAARCH64() and !builtin.os.tag.isDarwin()) {