authorgravatar for mewmew@users.noreply.github.comRobin <mewmew@users.noreply.github.com> 2022-05-14 12:56:58+02:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2022-05-14 12:56:58+02:00
log1bdcbd18ae1f312748c9909db98532a8dfd006eb
tree93a7c53fcec61e0cb1db4adedde9a45c63e60ee3
parent802f220739c26081e3018fe7e77e199458ffa8ba
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

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.

1 files changed, 2 insertions(+), 0 deletions(-)

lib/init-exe/src/main.zig+2
...@@ -1,6 +1,8 @@...@@ -1,6 +1,8 @@
1const std = @import("std");1const std = @import("std");
22
3pub fn main() anyerror!void {3pub fn main() anyerror!void {
4 // Note that info level log messages are by default printed only in Debug
5 // and ReleaseSafe build modes.
4 std.log.info("All your codebase are belong to us.", .{});6 std.log.info("All your codebase are belong to us.", .{});
5}7}
68