aboutsummaryrefslogtreecommitdiff
path: root/core/path
diff options
context:
space:
mode:
authorsergeypdev <sergeypoznyak@protonmail.com>2025-07-19 16:44:45 +0400
committersergeypdev <sergeypoznyak@protonmail.com>2025-07-19 16:44:45 +0400
commit2fc8ca6cf5c468f8a59e15a65c0446fd4ef8037c (patch)
treef6d4b48df345525e06879de3b945b6551bd31a83 /core/path
parenta19e7845b1a174345590f347a0b02130ac284f47 (diff)
Disable filepath/match.odin and filepath/walk.odin compilation on js
targets
Diffstat (limited to 'core/path')
-rw-r--r--core/path/filepath/match.odin1
-rw-r--r--core/path/filepath/walk.odin1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/path/filepath/match.odin b/core/path/filepath/match.odin
index 1f0ac9287..3eaa7c6fe 100644
--- a/core/path/filepath/match.odin
+++ b/core/path/filepath/match.odin
@@ -1,4 +1,5 @@
#+build !wasi
+#+build !js
package filepath
import "core:os"
diff --git a/core/path/filepath/walk.odin b/core/path/filepath/walk.odin
index 53b10eed7..05d67daf0 100644
--- a/core/path/filepath/walk.odin
+++ b/core/path/filepath/walk.odin
@@ -1,4 +1,5 @@
#+build !wasi
+#+build !js
package filepath
import "core:os"