rust3ds / ctru-rs

Rust wrapper for libctru
https://rust3ds.github.io/ctru-rs/
Other
122 stars 18 forks source link

Update time_rtc example to use `time` crate #27

Closed ian-h-chamberlain closed 2 years ago

ian-h-chamberlain commented 2 years ago

Depends on https://github.com/Meziu/rust-linker-fix-3ds/pull/6

Couple of notes:

For time itself:

AzureMarker commented 2 years ago

We could add libc::tm::tm_gmtoff to our libc fork, if we wanted.

Meziu commented 2 years ago

We could add libc::tm::tm_gmtoff to our libc fork, if we wanted.

No we can't. Newlib (at least devkitARM's 3DS fork) doesn't support it in it's functions. Sad, yeah, but it's normal when working with literally any unix target other than linux.