aboutsummaryrefslogtreecommitdiff
path: root/std/special/start.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-09-19 17:02:32 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-09-19 17:02:32 -0400
commit8a30edcde82dfcd36c3eec2fb7bcd5af549325cf (patch)
tree9d45053a816d85e72daee5c168a20259be585871 /std/special/start.zig
parent5e34fb35972b8ff2ec0a420779b689229d05c659 (diff)
parent925ffbce7f424548be9eb42eb3914d5035066003 (diff)
downloadzig-8a30edcde82dfcd36c3eec2fb7bcd5af549325cf.tar.gz
zig-8a30edcde82dfcd36c3eec2fb7bcd5af549325cf.zip
Merge remote-tracking branch 'origin/master' into llvm9
Diffstat (limited to 'std/special/start.zig')
-rw-r--r--std/special/start.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/special/start.zig b/std/special/start.zig
index 956e4b6b67..c5017507e5 100644
--- a/std/special/start.zig
+++ b/std/special/start.zig
@@ -23,7 +23,7 @@ comptime {
} else if (builtin.os == .uefi) {
@export("EfiMain", EfiMain, .Strong);
} else {
- @export("_start", _start, .Strong);
+ if (!@hasDecl(root, "_start")) @export("_start", _start, .Strong);
}
}