Files
chandra/compositor/sys/moon.pkg
T
nandiandClaude Opus 5.5 4fd2641c80
CI / test (push) Failing after 52s
Clock: make monotonic_ms monotonic, so a clock jump can't freeze the session
It read the wall clock. When NTP moved a phone from 1970 to now, the frame
loop's elapsed time overflowed and it slept for days.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:22:27 -08:00

18 lines
482 B
Plaintext

import {
"moonbitlang/core/builtin",
"chandra/desktop/interface/chandra/host/sys" @hostsys,
"chandra/desktop/interface/chandra/host/raster" @hostraster,
}
supported_targets = "+native+wasm"
// Native: POSIX through a C shim. Wasm (the compositor as a component): the same API over the
// chandra:host/sys imports, implemented by the native host.
options(
targets: {
"sys_native.mbt": ["native"],
"sys_wasm.mbt": ["wasm"],
},
"native-stub": [ "sys_stub.c" ],
)