Closed ian-h-chamberlain closed 2 years ago
I think this has been superseded by https://github.com/Meziu/rust-horizon/commit/bbaf4bfbdb91c768e86a4bbd8222474279fe9709
Yep, looks like the only difference is formatting / Cargo.lock, which can be resolved separately. Closing.
This requires https://github.com/Meziu/libc/pull/3 and https://github.com/Meziu/rust-linker-fix-3ds/pull/8, which in turn means it probably requires a revert of https://github.com/Meziu/rust-horizon/pull/5.
This enables using
std::collections::HashMap
without runtime panicking, as long as the program callsctru_sys::psInit()
before trying to create one. I plan to open a PR toctru-rs
to create a wrapper API forPs
to make that a little nicer.