diff options
| author | Robin <mewmew@users.noreply.github.com> | 2022-05-14 12:56:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-14 12:56:58 +0200 |
| commit | 1bdcbd18ae1f312748c9909db98532a8dfd006eb (patch) | |
| tree | 93a7c53fcec61e0cb1db4adedde9a45c63e60ee3 /lib/init-exe/src | |
| parent | 802f220739c26081e3018fe7e77e199458ffa8ba (diff) | |
| download | zig-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')
| -rw-r--r-- | lib/init-exe/src/main.zig | 2 |
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.", .{}); } |
