obhq / obliteration

Experimental free and open-source PlayStation 4 kernel
https://obliteration.net
Apache License 2.0
621 stars 17 forks source link

Adjusts hypervisor errors on mac to use NonZero #852

Closed SuchAFuriousDeath closed 3 months ago

SuchAFuriousDeath commented 5 months ago

Let's see if this compiles.

I don't know if this is niche knowledge or not, but Rust recently switched from distinct NonZero types to using a generic trait. so we can utliize this here.

EDIT: oops, it has not been stabilized yet

SuchAFuriousDeath commented 3 months ago

Seems like rust was updated, so this can be merged now