diff options
author | Joe Wilm <jwilm@users.noreply.github.com> | 2017-01-06 21:51:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-06 21:51:24 -0800 |
commit | 852c2d8f15bfc11f0222fa08626c38724accd35a (patch) | |
tree | 0880b8e38d76ae4ba0fb1772fbd11cae53168729 /src/lib.rs | |
parent | 62739bd226974358a811b4680b4b74c268418f5b (diff) | |
parent | 4e1f4c8cd7180606156b71ad0222f60e4559f2b3 (diff) | |
download | r-alacritty-852c2d8f15bfc11f0222fa08626c38724accd35a.tar.gz r-alacritty-852c2d8f15bfc11f0222fa08626c38724accd35a.tar.bz2 r-alacritty-852c2d8f15bfc11f0222fa08626c38724accd35a.zip |
Merge pull request #131 from Manishearth/stable
Make it compile on stable Rust (almost)
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -13,19 +13,14 @@ // limitations under the License. // //! Alacritty - The GPU Enhanced Terminal -#![feature(range_contains)] -#![feature(inclusive_range_syntax)] -#![feature(inclusive_range)] -#![feature(drop_types_in_const)] -#![feature(step_trait)] -#![feature(plugin)] +#![cfg_attr(feature = "clippy", feature(plugin))] #![cfg_attr(feature = "clippy", plugin(clippy))] #![cfg_attr(feature = "clippy", deny(clippy))] #![cfg_attr(feature = "clippy", deny(enum_glob_use))] #![cfg_attr(feature = "clippy", deny(if_not_else))] #![cfg_attr(feature = "clippy", deny(wrong_pub_self_convention))] #![cfg_attr(test, feature(test))] -#![feature(core_intrinsics)] +#![cfg_attr(feature = "nightly", feature(core_intrinsics))] #![feature(proc_macro)] @@ -37,6 +32,8 @@ extern crate copypasta; extern crate errno; extern crate font; extern crate glutin; +#[macro_use] +extern crate lazy_static; extern crate libc; extern crate mio; extern crate notify; |