std::rt::io was moved to std::io
std::vec::raw::to_ptr was moved to the method as_ptr
copy error messages before calling fail
adapt to new glfw-rs callback API
Merge pull request #1 from rlane/language-updates

Update for Rust language changes