diff --git a/std/special/compiler_rt/index.zig b/std/special/compiler_rt/index.zig index 67016c554a22225692a336d8eddc0b3b4f51a3d6..4512c80c117a7ae6d34f4e40d51d7dc8f9f182a8 100644 --- a/std/special/compiler_rt/index.zig +++ b/std/special/compiler_rt/index.zig @@ -194,7 +194,7 @@ export nakedcc fn __chkstk_ms() align(4) { @setDebugSafety(this, false); if (win32_nocrt) { - @setGlobalLinkage(__chkstk, linkage); + @setGlobalLinkage(__chkstk_ms, linkage); asm volatile ( \\ push %%ecx \\ push %%eax