mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 13:58:27 +00:00
compiler_rt: remove stack probe functions from c builds
This commit is contained in:
parent
91e489174b
commit
2a3d9c321e
@ -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()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user