Commit 481fe49
committed
pal/unsupported: Implement SystemTime::{MIN, MAX}
This commit implements `SystemTime::MIN` and `SystemTime::MAX` for all
unsupported platforms.
Unsupported platforms store a `SystemTime` in a `Duration`, just like
wasip1, sgx, and a few others, thereby implying `Duration::ZERO` and
`Duration::MAX` as the respective limits.1 parent 8683afa commit 481fe49
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
| |||
0 commit comments