Coverage Report

Created: 2026-07-13 08:11

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/rust/registry/src/index.crates.io-1949cf8c6b5b557f/ulid-1.2.1/src/time_utils.rs
Line
Count
Source
1
0
pub(crate) fn now() -> std::time::SystemTime {
2
    #[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
3
    {
4
        use web_time::web::SystemTimeExt;
5
        return web_time::SystemTime::now().to_std();
6
    }
7
    #[cfg(not(all(target_arch = "wasm32", target_os = "unknown")))]
8
0
    return std::time::SystemTime::now();
9
0
}