mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-25 07:04:58 -07:00
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.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
//+build !windows !linux !darwin
|
||||
//+build !windows
|
||||
//+build !linux
|
||||
//+build !darwin
|
||||
package debug_trace
|
||||
|
||||
import "base:runtime"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
//+build !netbsd !openbsd
|
||||
//+build !netbsd
|
||||
//+build !openbsd
|
||||
package flags
|
||||
|
||||
import "base:runtime"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
//+private
|
||||
//+build !netbsd !openbsd
|
||||
//+build !netbsd
|
||||
//+build !openbsd
|
||||
package flags
|
||||
|
||||
import "core:net"
|
||||
|
||||
@@ -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
|
||||
|
||||
/*
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
|
||||
A test suite for `core:net`
|
||||
*/
|
||||
//+build !netbsd !openbsd
|
||||
//+build !netbsd
|
||||
//+build !openbsd
|
||||
package test_core_net
|
||||
|
||||
import "core:testing"
|
||||
|
||||
Reference in New Issue
Block a user