mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-20 21:35:19 +00:00
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,4 +1,5 @@
|
||||
//+build !freestanding !js
|
||||
//+build !freestanding
|
||||
//+build !js
|
||||
package fmt
|
||||
|
||||
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
|
||||
|
||||
import "core:os"
|
||||
|
||||
Reference in New Issue
Block a user