Set allow(unstable) in crates that use unstable features
Lets them build with the -dev, -nightly, or snapshot compiler
This commit is contained in:
parent
056f8f0251
commit
6f3a80e411
@ -13,6 +13,7 @@
|
||||
#![feature(slicing_syntax, unboxed_closures)]
|
||||
#![feature(box_syntax)]
|
||||
#![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
|
||||
#![deny(warnings)]
|
||||
|
||||
|
@ -66,6 +66,7 @@
|
||||
|
||||
#![no_std]
|
||||
#![allow(unknown_features)]
|
||||
#![allow(unstable)]
|
||||
#![feature(lang_items, unsafe_destructor)]
|
||||
#![feature(box_syntax)]
|
||||
#![feature(optin_builtin_traits)]
|
||||
|
@ -34,6 +34,7 @@
|
||||
#![feature(box_syntax)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(missing_docs)]
|
||||
#![allow(unstable)]
|
||||
|
||||
extern crate alloc;
|
||||
|
||||
|
@ -28,6 +28,7 @@
|
||||
#![feature(unboxed_closures)]
|
||||
#![feature(old_impl_check)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
#![no_std]
|
||||
|
||||
#[macro_use]
|
||||
|
@ -12,6 +12,7 @@
|
||||
#![feature(unboxed_closures)]
|
||||
#![feature(box_syntax)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
|
||||
extern crate core;
|
||||
extern crate test;
|
||||
|
@ -18,6 +18,7 @@
|
||||
#![unstable]
|
||||
#![staged_api]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
|
@ -26,6 +26,7 @@
|
||||
|
||||
#![feature(slicing_syntax)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
|
||||
pub use self::Piece::*;
|
||||
pub use self::Position::*;
|
||||
|
@ -88,6 +88,7 @@
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
#![feature(slicing_syntax)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
#![deny(missing_docs)]
|
||||
|
||||
#[cfg(test)] #[macro_use] extern crate log;
|
||||
|
@ -274,6 +274,7 @@
|
||||
html_root_url = "http://doc.rust-lang.org/nightly/")]
|
||||
#![feature(slicing_syntax)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
|
||||
use self::LabelText::*;
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
#![cfg_attr(not(feature = "cargo-build"), unstable)]
|
||||
#![cfg_attr(not(feature = "cargo-build"), staged_api)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
#![no_std]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
|
@ -169,6 +169,7 @@
|
||||
#![feature(slicing_syntax)]
|
||||
#![feature(box_syntax)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
#![deny(missing_docs)]
|
||||
|
||||
extern crate regex;
|
||||
|
@ -23,6 +23,7 @@
|
||||
html_root_url = "http://doc.rust-lang.org/nightly/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
#![no_std]
|
||||
#![unstable]
|
||||
#![staged_api]
|
||||
|
@ -27,6 +27,7 @@
|
||||
#![allow(unknown_features)]
|
||||
#![feature(slicing_syntax)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
|
||||
extern crate serialize;
|
||||
#[macro_use] extern crate log;
|
||||
|
@ -24,6 +24,7 @@
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![allow(unstable)]
|
||||
#![feature(slicing_syntax)]
|
||||
#![feature(box_syntax)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
|
@ -29,6 +29,7 @@
|
||||
#![feature(box_syntax)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![feature(rustc_diagnostic_macros)]
|
||||
#![allow(unstable)]
|
||||
|
||||
extern crate arena;
|
||||
extern crate flate;
|
||||
|
@ -32,6 +32,7 @@
|
||||
#![allow(unknown_features)]
|
||||
#![feature(slicing_syntax, box_syntax)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
|
||||
extern crate syntax;
|
||||
extern crate serialize;
|
||||
|
@ -23,6 +23,7 @@
|
||||
#![feature(rustc_diagnostic_macros)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(unstable)]
|
||||
|
||||
#[macro_use] extern crate log;
|
||||
#[macro_use] extern crate syntax;
|
||||
|
@ -29,6 +29,7 @@
|
||||
#![feature(box_syntax)]
|
||||
#![feature(rustc_diagnostic_macros)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
|
||||
extern crate arena;
|
||||
extern crate flate;
|
||||
|
@ -26,6 +26,7 @@
|
||||
#![feature(link_args)]
|
||||
#![feature(box_syntax)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
|
||||
extern crate libc;
|
||||
#[macro_use] #[no_link] extern crate rustc_bitflags;
|
||||
|
@ -20,6 +20,7 @@
|
||||
#![feature(slicing_syntax)]
|
||||
#![feature(rustc_diagnostic_macros)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
|
||||
#[macro_use] extern crate log;
|
||||
#[macro_use] extern crate syntax;
|
||||
|
@ -29,6 +29,7 @@
|
||||
#![feature(box_syntax)]
|
||||
#![feature(rustc_diagnostic_macros)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
|
||||
extern crate arena;
|
||||
extern crate flate;
|
||||
|
@ -79,6 +79,7 @@ This API is completely unstable and subject to change.
|
||||
#![feature(rustc_diagnostic_macros)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(unstable)]
|
||||
|
||||
#[macro_use] extern crate log;
|
||||
#[macro_use] extern crate syntax;
|
||||
|
@ -20,6 +20,7 @@
|
||||
#![feature(slicing_syntax)]
|
||||
#![feature(box_syntax)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
|
||||
extern crate arena;
|
||||
extern crate getopts;
|
||||
|
@ -28,6 +28,7 @@ Core encoding and decoding interfaces.
|
||||
#![feature(old_impl_check)]
|
||||
#![feature(slicing_syntax)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
|
||||
// test harness access
|
||||
#[cfg(test)] extern crate test;
|
||||
|
@ -112,6 +112,8 @@
|
||||
#![feature(old_impl_check)]
|
||||
#![feature(optin_builtin_traits)]
|
||||
#![feature(int_uint)]
|
||||
#![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
|
||||
// Don't link to std. We are std.
|
||||
#![no_std]
|
||||
|
@ -28,6 +28,7 @@
|
||||
#![feature(box_syntax)]
|
||||
#![feature(quote, unsafe_destructor)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
|
||||
extern crate arena;
|
||||
extern crate fmt_macros;
|
||||
|
@ -52,6 +52,7 @@
|
||||
#![feature(slicing_syntax)]
|
||||
#![feature(box_syntax)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
#![deny(missing_docs)]
|
||||
|
||||
#[macro_use] extern crate log;
|
||||
|
@ -35,6 +35,7 @@
|
||||
#![feature(asm, slicing_syntax)]
|
||||
#![feature(box_syntax)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
|
||||
extern crate getopts;
|
||||
extern crate regex;
|
||||
|
@ -31,6 +31,7 @@
|
||||
#![no_std]
|
||||
#![feature(slicing_syntax)]
|
||||
#![allow(unknown_features)] #![feature(int_uint)]
|
||||
#![allow(unstable)]
|
||||
|
||||
extern crate core;
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
#![feature(slicing_syntax, box_syntax)]
|
||||
#![allow(unstable)]
|
||||
|
||||
extern crate regex;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user