diff --git a/core/time/time_freestanding.odin b/core/time/time_freestanding.odin deleted file mode 100644 index 7c67cc5e8..000000000 --- a/core/time/time_freestanding.odin +++ /dev/null @@ -1,19 +0,0 @@ -//+private -//+build freestanding -package time - -_IS_SUPPORTED :: false - -_now :: proc "contextless" () -> Time { - return {} -} - -_sleep :: proc "contextless" (d: Duration) { -} - -_tick_now :: proc "contextless" () -> Tick { - return {} -} - -_yield :: proc "contextless" () { -} diff --git a/core/time/time_orca.odin b/core/time/time_other.odin similarity index 72% rename from core/time/time_orca.odin rename to core/time/time_other.odin index d222c8247..dd3d39644 100644 --- a/core/time/time_orca.odin +++ b/core/time/time_other.odin @@ -1,5 +1,13 @@ //+private -//+build orca +//+build !essence +//+build !js +//+build !linux +//+build !openbsd +//+build !freebsd +//+build !netbsd +//+build !darwin +//+build !wasi +//+build !windows package time _IS_SUPPORTED :: false diff --git a/core/time/time_unix.odin b/core/time/time_unix.odin index 61543b99c..0d7a43aba 100644 --- a/core/time/time_unix.odin +++ b/core/time/time_unix.odin @@ -1,5 +1,5 @@ //+private -//+build darwin, freebsd, openbsd, netbsd, haiku +//+build darwin, freebsd, openbsd, netbsd package time import "core:sys/posix"