refactor(render): move lib.rs items to {blobs,bounds,clock,frame,geometry,node_checks,options,paint,renderer,renderer/images,renderer/nodes,renderer/paint,renderer/text,text_geom,threads}.rs

This commit is contained in:
aiongg
2026-10-26 22:01:25 +00:00
parent 722ecade76
commit e0db48ba39
16 changed files with 2745 additions and 2656 deletions
+10
View File
@@ -0,0 +1,10 @@
#[cfg(not(target_arch = "wasm32"))]
pub(crate) fn now() -> u64 {
use std::time::{SystemTime, UNIX_EPOCH};
SystemTime::now().duration_since(UNIX_EPOCH).map(|d| d.as_micros() as u64).unwrap_or(0)
}
#[cfg(target_arch = "wasm32")]
pub(crate) fn now() -> u64 {
0
}