From bea10e83a5533f0791b1ff123fbb6beb202cb7bb Mon Sep 17 00:00:00 2001 From: werecat Date: Sun, 28 Feb 2016 16:17:59 -0500 Subject: [PATCH] Removed #[allow(raw_pointer_derive)] from sdl2-sys Also bumped patch version on sdl2-sys and sdl2. Now there are no more warnings when compiling on rust stable (1.6) --- Cargo.toml | 4 ++-- sdl2-sys/Cargo.toml | 2 +- sdl2-sys/src/audio.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 48854b9a..ec84dd6e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ name = "sdl2" description = "SDL2 bindings for Rust" repository = "https://github.com/AngryLawyer/rust-sdl2" documentation = "http://angrylawyer.github.io/rust-sdl2/sdl2/" -version = "0.15.0" +version = "0.15.1" license = "MIT" authors = [ "Tony Aldridge " ] keywords = ["SDL", "windowing", "graphics"] @@ -29,7 +29,7 @@ lazy_static="0.1" [dependencies.sdl2-sys] path = "sdl2-sys" -version = "0.8.0" +version = "0.8.1" [features] diff --git a/sdl2-sys/Cargo.toml b/sdl2-sys/Cargo.toml index 55cbecb4..72369cc8 100644 --- a/sdl2-sys/Cargo.toml +++ b/sdl2-sys/Cargo.toml @@ -3,7 +3,7 @@ name = "sdl2-sys" description = "Raw SDL2 bindings for Rust, used internally rust-sdl2" repository = "https://github.com/AngryLawyer/rust-sdl2" -version = "0.8.0" +version = "0.8.1" authors = ["Tony Aldridge "] license = "MIT" links = "SDL2" diff --git a/sdl2-sys/src/audio.rs b/sdl2-sys/src/audio.rs index 3f6a582d..74068ad3 100644 --- a/sdl2-sys/src/audio.rs +++ b/sdl2-sys/src/audio.rs @@ -42,7 +42,7 @@ pub struct SDL_AudioSpec { } pub type SDL_AudioFilter = Option; -#[allow(dead_code, missing_copy_implementations, raw_pointer_derive)] +#[allow(dead_code, missing_copy_implementations)] #[derive(Copy, Clone)] #[repr(C)] pub struct SDL_AudioCVT {