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.
This commit is contained in:
Robin 2022-05-14 12:56:58 +02:00 committed by GitHub
parent 802f220739
commit 1bdcbd18ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.", .{});
}