mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
Fix stack-probe symbol redefinition
This commit is contained in:
parent
dfcbca8d2f
commit
4de3f9d853
@ -238,7 +238,8 @@ comptime {
|
||||
if (is_mingw) {
|
||||
@export("_alloca", @import("compiler_rt/stack_probe.zig")._chkstk, strong_linkage);
|
||||
@export("___chkstk_ms", @import("compiler_rt/stack_probe.zig").___chkstk_ms, strong_linkage);
|
||||
} else {
|
||||
} else if (!builtin.link_libc) {
|
||||
// This symbols are otherwise exported by MSVCRT.lib
|
||||
@export("_chkstk", @import("compiler_rt/stack_probe.zig")._chkstk, strong_linkage);
|
||||
@export("__chkstk", @import("compiler_rt/stack_probe.zig").__chkstk, strong_linkage);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user