diff --git a/core/text/regex/common/debugging.odin b/core/text/regex/common/debugging.odin index 0e4161a92..f0d34c112 100644 --- a/core/text/regex/common/debugging.odin +++ b/core/text/regex/common/debugging.odin @@ -8,14 +8,14 @@ package regex_common Feoramund: Initial implementation. */ -@require import "core:os" +@require import os "core:os/os2" import "core:io" import "core:strings" ODIN_DEBUG_REGEX :: #config(ODIN_DEBUG_REGEX, false) when ODIN_DEBUG_REGEX { - debug_stream := os.stream_from_handle(os.stderr) + debug_stream := os.stderr.stream } write_padded_hex :: proc(w: io.Writer, #any_int n, zeroes: int) {