aboutsummaryrefslogtreecommitdiff
path: root/lib/std/special
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-12-05 17:37:29 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-12-05 17:37:29 -0500
commitef83358eb6702e8541816817e98c3e7279033672 (patch)
tree2d57f0633a84f188cc4bd0c9e25fc0484a39b6f5 /lib/std/special
parent1f602fe8c5b3dea9f00f96e70dad73ebce405b49 (diff)
downloadzig-ef83358eb6702e8541816817e98c3e7279033672.tar.gz
zig-ef83358eb6702e8541816817e98c3e7279033672.zip
remove `@noInlineCall` from zig
Diffstat (limited to 'lib/std/special')
-rw-r--r--lib/std/special/start.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/special/start.zig b/lib/std/special/start.zig
index a93b01c290..8815e17a91 100644
--- a/lib/std/special/start.zig
+++ b/lib/std/special/start.zig
@@ -125,7 +125,7 @@ nakedcc fn _start() noreturn {
}
// If LLVM inlines stack variables into _start, they will overwrite
// the command line argument data.
- @noInlineCall(posixCallMainAndExit);
+ @call(.{ .modifier = .never_inline }, posixCallMainAndExit, .{});
}
stdcallcc fn WinMainCRTStartup() noreturn {