aboutsummaryrefslogtreecommitdiff
path: root/lib/init-exe/src/main.zig
diff options
context:
space:
mode:
authorRobin <mewmew@users.noreply.github.com>2022-05-14 12:56:58 +0200
committerGitHub <noreply@github.com>2022-05-14 12:56:58 +0200
commit1bdcbd18ae1f312748c9909db98532a8dfd006eb (patch)
tree93a7c53fcec61e0cb1db4adedde9a45c63e60ee3 /lib/init-exe/src/main.zig
parent802f220739c26081e3018fe7e77e199458ffa8ba (diff)
downloadzig-1bdcbd18ae1f312748c9909db98532a8dfd006eb.tar.gz
zig-1bdcbd18ae1f312748c9909db98532a8dfd006eb.zip
init-exe: add note about log_level in ReleaseSmall and ReleaseFast build mode (#11626)
As suggested in https://github.com/ziglang/zig/issues/9945#issuecomment-950114977 by @wizzard0. Fixes #9945.
Diffstat (limited to 'lib/init-exe/src/main.zig')
-rw-r--r--lib/init-exe/src/main.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/init-exe/src/main.zig b/lib/init-exe/src/main.zig
index a7a7c9546a..c2f93f4771 100644
--- a/lib/init-exe/src/main.zig
+++ b/lib/init-exe/src/main.zig
@@ -1,6 +1,8 @@
const std = @import("std");
pub fn main() anyerror!void {
+ // Note that info level log messages are by default printed only in Debug
+ // and ReleaseSafe build modes.
std.log.info("All your codebase are belong to us.", .{});
}