diff --git a/core/time/time_freestanding.odin b/core/time/time_freestanding.odin new file mode 100644 index 000000000..d78f43a81 --- /dev/null +++ b/core/time/time_freestanding.odin @@ -0,0 +1,15 @@ +//+build freestanding +package time + +IS_SUPPORTED :: false + +now :: proc() -> Time { + return Time{} +} + +sleep :: proc(d: Duration) { +} + +_tick_now :: proc "contextless" () -> Tick { + return Tick{} +}