aboutsummaryrefslogtreecommitdiff
path: root/core/text/regex/common/debugging.odin
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2026-02-08 16:39:56 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2026-02-09 15:07:27 +0100
commit8ed264680b1f3f94b6aa5176824d4ccadfc30322 (patch)
tree6fb815549b2f1ce4694f32dee216a628a221ecd4 /core/text/regex/common/debugging.odin
parent5bf30b2d562dd7b746a351dce333914e2ca958c8 (diff)
Remove all `core:os` imports from JS targets
Fix `local_tz_name` on FreeBSD.
Diffstat (limited to 'core/text/regex/common/debugging.odin')
-rw-r--r--core/text/regex/common/debugging.odin7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/text/regex/common/debugging.odin b/core/text/regex/common/debugging.odin
index e3fcb8b7e..055bbd20d 100644
--- a/core/text/regex/common/debugging.odin
+++ b/core/text/regex/common/debugging.odin
@@ -8,16 +8,9 @@ package regex_common
Feoramund: Initial implementation.
*/
-@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.stderr.stream
-}
-
write_padded_hex :: proc(w: io.Writer, #any_int n, zeroes: int) {
sb := strings.builder_make()
defer strings.builder_destroy(&sb)