Commit 8e5393a779

Isaac Freund <ifreund@ifreund.xyz>
2020-06-02 18:43:27
Deprecate std.debug.warn
1 parent 0bd067d
Changed files (1)
lib
lib/std/debug.zig
@@ -52,8 +52,7 @@ pub const LineInfo = struct {
 
 var stderr_mutex = std.Mutex.init();
 
-/// Tries to write to stderr, unbuffered, and ignores any error returned.
-/// Does not append a newline.
+/// Deprecated. Use `std.log` functions for logging.
 pub fn warn(comptime fmt: []const u8, args: var) void {
     const held = stderr_mutex.acquire();
     defer held.release();