mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
compiler_rt: remove stack probe functions from c builds
This commit is contained in:
parent
91e489174b
commit
2a3d9c321e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue