aboutsummaryrefslogtreecommitdiff
path: root/lib/std/std.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-12-12 18:56:39 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-12-12 18:56:39 -0500
commit7699b5b997c7a024a6d9558df0ec72d71ef402fe (patch)
treeea996d6252efe24158a802fb50c1a28c3b3d6717 /lib/std/std.zig
parent81f1f72197113a45e827d5c984e219a28aa28083 (diff)
parentfff3c1fff4c3ebfcb2bd4f08a43ae7815b5c446b (diff)
downloadzig-7699b5b997c7a024a6d9558df0ec72d71ef402fe.tar.gz
zig-7699b5b997c7a024a6d9558df0ec72d71ef402fe.zip
Merge branch 'Xe-expose-callMain'
closes #3891
Diffstat (limited to 'lib/std/std.zig')
-rw-r--r--lib/std/std.zig7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/std/std.zig b/lib/std/std.zig
index 09db489604..dd4d968efb 100644
--- a/lib/std/std.zig
+++ b/lib/std/std.zig
@@ -65,6 +65,13 @@ pub const time = @import("time.zig");
pub const unicode = @import("unicode.zig");
pub const valgrind = @import("valgrind.zig");
pub const zig = @import("zig.zig");
+pub const start = @import("start.zig");
+
+// This forces the start.zig file to be imported, and the comptime logic inside that
+// file decides whether to export any appropriate start symbols.
+comptime {
+ _ = start;
+}
test "" {
meta.refAllDecls(@This());