Updated to latest rustc (switched statics to const)

By the way, rustc gives `should have uppercase name` warnings on each of those ffi consts - is there any reason they're not uppercase? If not, I'd be happy to change those too :+1: