---
title: "sdl2-sys 0.39.0 Breaking Changes on crates.io | Since.dev"
description: "What each sdl2-sys release removed, renamed or changed: 12 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/sdl2-sys
last_updated: 2026-12-04
---

# sdl2-sys breaking changes

sdl2-sys 0.39.0 (November 18, 2026) is its newest release with breaking changes, 12 of them. The first: Bindgen emits only SDL items, dropping platform-specific ones in sdl2-sys 0.39.0. Every breaking API change we have recorded in sdl2-sys on crates.io: 12 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.39.0`, released November 18, 2026. [Source repository](https://github.com/rust-sdl2/rust-sdl2)

Its 0.39.0 release requires [Rust 1.80](https://since.dev/calendar/rust/1.80.md) or later. [Rust end of life dates](https://since.dev/calendar/rust.md).

## sdl2-sys 0.39.0 breaking changes

sdl2-sys 0.39.0, released November 18, 2026: 12 breaking changes.

- **Removed**  

Platform, compiler and other non-SDL items are no longer generated, so code using them breaks. [github.com](https://github.com/rust-sdl2/rust-sdl2/blob/0.39.0/changelog.md)
- **Behavior changed** `BlendMode`  

Code that relies on internal details of BlendMode and SDL_BlendMode may break. [github.com](https://github.com/rust-sdl2/rust-sdl2/blob/0.39.0/changelog.md)
- **Behavior changed** `SDL_SysWMinfo`  

SDL_SysWMinfo is now opaque, so its fields can no longer be accessed. Use the raw-window-handle feature to get native window handles. [github.com](https://github.com/rust-sdl2/rust-sdl2/blob/0.39.0/changelog.md)
- **Behavior changed** `SDL_SysWMmsg`  

SDL_SysWMmsg is now opaque, so its fields can no longer be accessed. Use the raw-window-handle feature to get native window handles. [github.com](https://github.com/rust-sdl2/rust-sdl2/blob/0.39.0/changelog.md)
- **Configuration changed**  

Builds now need Rust 1.80 or newer, so the toolchain must be upgraded. [github.com](https://github.com/rust-sdl2/rust-sdl2/blob/0.39.0/changelog.md)
- **Configuration changed**  

The crate now needs Rust 1.80 or later because it uses std::sync::LazyLock instead of lazy_static. [github.com](https://github.com/rust-sdl2/rust-sdl2/blob/0.39.0/changelog.md)
- **Signature changed** `AudioCallback`  

Callbacks passed as AudioCallback must now be 'static. [github.com](https://github.com/rust-sdl2/rust-sdl2/blob/0.39.0/changelog.md)
- **Signature changed** `EventWatchCallback`  

Callers must now supply callbacks that are Send and 'static. [github.com](https://github.com/rust-sdl2/rust-sdl2/blob/0.39.0/changelog.md)
- **Signature changed** `SDL_Keymod`  

SDL_Keymod is no longer a Rust enum, so code matching on its variants must change. [github.com](https://github.com/rust-sdl2/rust-sdl2/blob/0.39.0/changelog.md)
- **Signature changed** `SDL_RendererFlip`  

SDL_RendererFlip is no longer a Rust enum, so code matching on its variants must change. [github.com](https://github.com/rust-sdl2/rust-sdl2/blob/0.39.0/changelog.md)
- **Signature changed** `SDL_SysWMinfo`  

Its fields are no longer accessible; use the raw-window-handle feature to get native window handles. [github.com](https://github.com/rust-sdl2/rust-sdl2/blob/0.39.0/changelog.md)
- **Signature changed** `SDL_SysWMmsg`  

Its fields are no longer accessible; use the raw-window-handle feature to get native window handles. [github.com](https://github.com/rust-sdl2/rust-sdl2/blob/0.39.0/changelog.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
