pd-rs / crankstart

A barely functional, wildly incomplete and basically undocumented Rust crate whose aim is to let you write Games for the Playdate handheld gaming system in Rust.
MIT License
235 stars 24 forks source link

Regenerate bindings for playdate SDK 2.0 #48

Closed SomeoneToIgnore closed 1 year ago

SomeoneToIgnore commented 1 year ago

https://sdk.play.date/changelog/#_2_0_0

Function for clearing the cache indeed appeared, example games run as before. generate_bindings.sh script did not work for me until I've added more includes to bindgen, included in this PR too.

boozook commented 1 year ago

I can't test it right now on all platforms, so could be great it anyone tell me that it works properly. Unfortunately we have a shortage of CI tests in this repository 🤷🏻‍♂️ that must be fixed in nearest future.

SomeoneToIgnore commented 1 year ago

Just in case, I have all 3 platforms but no idea what would be the good test(s) — if you can share those, I could run them.

boozook commented 1 year ago

@SomeoneToIgnore I suppose "good test(s)" could be

That's enough for today. But currently I working on "probably next build system" and there is also will be tests with run, I hope.