Rust Rewrite Index

libsdl2

Simple DirectMedia Layer

Rust efforts

Research record · 2026-11-29

Searched SDL2 C library Rust port, Rust-SDL2 bindings and SafeLibs package source. rust-sdl2 is a binding; SafeLibs documents a Rust package effort, but its Cargo metadata describes an SDL2 ABI bootstrap/stub surface, so complete SDL2 coverage is not established.

Original source check. The packaged source scan found zero files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Partial rewrite

SafeLibs SDL2

Experimental Ubuntu SDL2 package port targeting the C ABI; its crate metadata describes ABI contract capture and a stub surface. The SafeLibs stage label does not establish feature-complete SDL2 or cross-platform behavior.

Evidence checked 2026-11-29

Project structure

SDL is a library that allows programs portable low level access to a video framebuffer, audio output, mouse, and keyboard.

Inside the source tree

Source files by extension in this snapshot · C (594), C++ (55), Python (4), Assembly (2)

Selected components packaged from this source in Debian 13.

  • libsdl2-2.0-0 · Simple DirectMedia Layer
  • libsdl2-dev · Simple DirectMedia Layer development files
  • libsdl2-doc · Reference manual for libsdl2
  • libsdl2-tests · Simple DirectMedia Layer automated and manual tests