From 2fc8ca6cf5c468f8a59e15a65c0446fd4ef8037c Mon Sep 17 00:00:00 2001 From: sergeypdev Date: Sat, 19 Jul 2025 16:44:45 +0400 Subject: [PATCH] Disable filepath/match.odin and filepath/walk.odin compilation on js targets --- core/path/filepath/match.odin | 1 + core/path/filepath/walk.odin | 1 + 2 files changed, 2 insertions(+) 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"