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:
Yawning Angel
2023-12-17 22:58:44 +09:00
parent d4df3f6383
commit 29c80c238d
2 changed files with 7 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
//+build !freestanding !js
//+build !freestanding
//+build !js
package fmt
import "core:runtime"

View File

@@ -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"