core: Fixed build constraints
Multiple constraints on the same line are combined with logical OR, while combining multiple negated constraints needs to be done with logical AND (each constraint on a separate line).
This commit is contained in:
1 parent
d4df3f6383
commit
29c80c238d
2 files changed
+7
-2
No files matched your search
@@ -1,4 +1,5 @@
|
|||||||
//+build !freestanding !js
|
//+build !freestanding
|
||||||
|
//+build !js
|
||||||
package fmt
|
package fmt
|
||||||
|
|
||||||
import "core:runtime"
|
import "core:runtime"
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
//+build !freestanding !wasi !windows !js !darwin
|
//+build !darwin
|
||||||
|
//+build !freestanding
|
||||||
|
//+build !js
|
||||||
|
//+build !wasi
|
||||||
|
//+build !windows
|
||||||
package runtime
|
package runtime
|
||||||
|
|
||||||
import "core:os"
|
import "core:os"
|
||||||
|
|||||||
Reference in new issue
Block a user