aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2023-12-17 14:28:50 +0000
committerGitHub <noreply@github.com>2023-12-17 14:28:50 +0000
commit67d02043fe6f8cc9aee766e70be9eb503fade235 (patch)
tree7fc2a3b14eed3a4f93ab718750b7d2c977529ba9
parentd4df3f638350f571ca31f9d7d8f1381f91864fa3 (diff)
parent29c80c238d7ec2a571fe8e6ac2171235d1b83fd9 (diff)
Merge pull request #3027 from Yawning/fix/build-constraints
core: Fixed build constraints
-rw-r--r--core/fmt/fmt_os.odin3
-rw-r--r--core/runtime/os_specific_any.odin6
2 files changed, 7 insertions, 2 deletions
diff --git a/core/fmt/fmt_os.odin b/core/fmt/fmt_os.odin
index 1f0ccf412..3d1b0847b 100644
--- a/core/fmt/fmt_os.odin
+++ b/core/fmt/fmt_os.odin
@@ -1,4 +1,5 @@
-//+build !freestanding !js
+//+build !freestanding
+//+build !js
package fmt
import "core:runtime"
diff --git a/core/runtime/os_specific_any.odin b/core/runtime/os_specific_any.odin
index 5fffceeeb..6a96655c4 100644
--- a/core/runtime/os_specific_any.odin
+++ b/core/runtime/os_specific_any.odin
@@ -1,4 +1,8 @@
-//+build !freestanding !wasi !windows !js !darwin
+//+build !darwin
+//+build !freestanding
+//+build !js
+//+build !wasi
+//+build !windows
package runtime
import "core:os"