aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Bell <bryan.w.bell@gmail.com>2015-01-22 23:40:17 -0800
committerBryan Bell <bryan.w.bell@gmail.com>2015-01-22 23:40:17 -0800
commit6ea483dc78383792d2ad622ba2318b79afab0b26 (patch)
tree0d00dc20e91af811edb7a4008677cfbe150e0dac
parent1d6b863cd454839b8e3cf1e296cbf8f31fb70029 (diff)
downloadglutin-6ea483dc78383792d2ad622ba2318b79afab0b26.tar.gz
glutin-6ea483dc78383792d2ad622ba2318b79afab0b26.zip
Disable compiler unstable warnings
To cleanup the compiler output when building, disable warnings about using unstable crates/features.
-rw-r--r--build.rs1
-rw-r--r--src/lib.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/build.rs b/build.rs
index f49b47f..9e6e181 100644
--- a/build.rs
+++ b/build.rs
@@ -1,3 +1,4 @@
+#![allow(unstable)]
extern crate gl_generator;
extern crate khronos_api;
diff --git a/src/lib.rs b/src/lib.rs
index 436c0cf..1b8ebce 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,5 +1,6 @@
#![feature(unsafe_destructor)]
#![unstable]
+#![allow(unstable)]
//! The purpose of this library is to provide an OpenGL context on as many
//! platforms as possible.