53b43b0f79
Ship the QUALITY_PLAN stretch from ownership through ecosystem: C.1 lifetime elision (bootstrap + selfhost), bux fmt/test/doc CI hooks, stdlib goldens, package registry (bux search/add), and LSP 0.4 position-sensitive locals with inferred let types. Full-tree format pass plus Map/Set remove double-free fix.
20 lines
352 B
Plaintext
20 lines
352 B
Plaintext
module Std::Time {
|
|
|
|
extern func bux_time_ms() -> int64;
|
|
extern func bux_time_us() -> int64;
|
|
extern func bux_sleep_ms(ms: int64);
|
|
|
|
func Time_NowMs() -> int64 {
|
|
return bux_time_ms();
|
|
}
|
|
|
|
func Time_NowUs() -> int64 {
|
|
return bux_time_us();
|
|
}
|
|
|
|
func Time_SleepMs(ms: int64) {
|
|
bux_sleep_ms(ms);
|
|
}
|
|
|
|
}
|