brson / rust-sdl

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

Replaced static declarations with const declarations #139

Closed RossMeikleham closed 10 years ago

RossMeikleham commented 10 years ago

Version 0.12 of Rust has changed the restrictions on using static variables. I think this is related to RFC_69. I've replaced all the static declarations in modules that wouldn't compile to now be constant declarations, and the library now seems to work fine with the current master branch of rust.

lifthrasiir commented 10 years ago

@RossMeikleham Thank you!