aboutsummaryrefslogtreecommitdiff
path: root/core/testing
diff options
context:
space:
mode:
authorKarl Zylinski <karl@zylinski.se>2024-09-07 22:02:17 +0200
committerKarl Zylinski <karl@zylinski.se>2024-09-07 22:02:17 +0200
commit8c636ac37b7cd0bb8405862fe9e003b7e67287b4 (patch)
tree5c5dc38e0eba6801b9dffcc21f1a99dfb10139cc /core/testing
parenta99e57c62c1c2d6b0e7a5fcd841eba79e9255d5b (diff)
Fix build tags that use ! multiple times on one line. Those don't actually do anything since build tags use OR within the line. So something like //+build !windows, !linux would actually build on both linux and windows. What was intended in all these cases was probably AND, which you get by splitting them into separate lines.
Diffstat (limited to 'core/testing')
-rw-r--r--core/testing/signal_handler_other.odin8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/testing/signal_handler_other.odin b/core/testing/signal_handler_other.odin
index 6f39205c7..d6d494fa4 100644
--- a/core/testing/signal_handler_other.odin
+++ b/core/testing/signal_handler_other.odin
@@ -1,5 +1,11 @@
//+private
-//+build !windows !linux !darwin !freebsd !openbsd !netbsd !haiku
+//+build !windows
+//+build !linux
+//+build !darwin
+//+build !freebsd
+//+build !openbsd
+//+build !netbsd
+//+build !haiku
package testing
/*