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.master
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