brson / rust-sdl

SDL bindings for Rust
MIT License
179 stars 52 forks source link

Fix `sdl_main` demo due to librustrt -> std::rt #146

Closed lgrz closed 9 years ago

lgrz commented 9 years ago

This solution works (tested on OS X), however there may be a better way to do this (one that keeps argc & argv). As far as I can tell std::rt:start has been replaced with std::rt:lang_start which is now private.

lifthrasiir commented 9 years ago

Sorry for late merger, I was on the vacation.

lgrz commented 9 years ago

No problem, thank you!