Update sdl2 crate dependency to 0.38.0
#69
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thank you for helping out with embedded-graphics-simulator development! Please:
Add an example where applicableCHANGELOG.mdentry in the Unreleased section under the appropriate heading (Added, Fixed, etc) if your changes affect the public APIrustfmton the projectjust build(Linux/macOS only) and make sure it passes. If you use Windows, check that CI passes once you've opened the PR.PR description
I’d like to have the re-exported
sdl2crate dependency updated to the latest version. With Rust 1.90.0, I’ve started getting crashes running my examples that use the simulator due to a change that was made to the compiler: rust-lang/rust#141759There’s probably an issue with
sdl2-compatin my Linux installation, andsdl20.37.0 isn’t handling some error gracefully:My debug builds are crashing because of event.rs#L336 — already known about and fixed 9 months ago: rust-sdl2#1444
Updating
sdl2to 0.38.0 would allow me to continue running apps that use the simulator the same way they used to do when built with Rust 1.89.0 and earlier, irrespective of the fact that there’san invalid value 0x207in the app.