aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2017-01-06 16:32:29 -0800
committerManish Goregaokar <manishsmail@gmail.com>2017-01-06 20:28:17 -0800
commit49187d53f2f8b7cfca9105c3fb00d7c29e2a457b (patch)
tree44e78783b3397404d6af5a6bc969b95b23d517c4 /src/lib.rs
parentfbeded8ac543613b89af2ed7fd856e978493cde4 (diff)
downloadalacritty-49187d53f2f8b7cfca9105c3fb00d7c29e2a457b.tar.gz
alacritty-49187d53f2f8b7cfca9105c3fb00d7c29e2a457b.zip
Add `nightly` feature, use for `unlikely` intrinsic
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index c6215a80..295a674c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -20,7 +20,7 @@
#![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)]