mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 16:45:27 +00:00
Add missing std in dump function json.zig
Add missing std to use of std.io.getStdErr in the function dump so that it compiles.
This commit is contained in:
parent
3ab4d112e0
commit
33c4ad7f3a
@ -1293,7 +1293,7 @@ pub const Value = union(enum) {
|
||||
var held = std.debug.getStderrMutex().acquire();
|
||||
defer held.release();
|
||||
|
||||
const stderr = io.getStdErr().writer();
|
||||
const stderr = std.io.getStdErr().writer();
|
||||
std.json.stringify(self, std.json.StringifyOptions{ .whitespace = null }, stderr) catch return;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user