| ... | @@ -16,16 +16,16 @@ comptime { | ... | @@ -16,16 +16,16 @@ comptime { |
| 16 | if (builtin.os.tag == .windows) { | 16 | if (builtin.os.tag == .windows) { |
| 17 | // Default stack-probe functions emitted by LLVM | 17 | // Default stack-probe functions emitted by LLVM |
| 18 | if (is_mingw) { | 18 | if (is_mingw) { |
| 19 | @export(_chkstk, .{ .name = "_alloca", .linkage = strong_linkage }); | 19 | @export(_chkstk, .{ .name = "_alloca", .linkage = linkage }); |
| 20 | @export(___chkstk_ms, .{ .name = "___chkstk_ms", .linkage = strong_linkage }); | 20 | @export(___chkstk_ms, .{ .name = "___chkstk_ms", .linkage = linkage }); |
| 21 | | 21 | |
| 22 | if (arch.isAARCH64()) { | 22 | if (arch.isAARCH64()) { |
| 23 | @export(__chkstk, .{ .name = "__chkstk", .linkage = strong_linkage }); | 23 | @export(__chkstk, .{ .name = "__chkstk", .linkage = linkage }); |
| 24 | } | 24 | } |
| 25 | } else if (!builtin.link_libc) { | 25 | } else if (!builtin.link_libc) { |
| 26 | // This symbols are otherwise exported by MSVCRT.lib | 26 | // This symbols are otherwise exported by MSVCRT.lib |
| 27 | @export(_chkstk, .{ .name = "_chkstk", .linkage = strong_linkage }); | 27 | @export(_chkstk, .{ .name = "_chkstk", .linkage = linkage }); |
| 28 | @export(__chkstk, .{ .name = "__chkstk", .linkage = strong_linkage }); | 28 | @export(__chkstk, .{ .name = "__chkstk", .linkage = linkage }); |
| 29 | } | 29 | } |
| 30 | } | 30 | } |
| 31 | | 31 | |