diff options
author | Joe Wilm <joe@jwilm.com> | 2017-02-02 20:50:48 -0800 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-02-03 08:11:19 -0800 |
commit | f2f750f9f3688e20d44bf43e6c0f568cf86edaa5 (patch) | |
tree | 176fa38cfe17e3b63e0df0dc3f9a14ce0db0d510 /src/term | |
parent | 875167a51006944da1a397fd0131b9aa69bf9a02 (diff) | |
download | alacritty-f2f750f9f3688e20d44bf43e6c0f568cf86edaa5.tar.gz alacritty-f2f750f9f3688e20d44bf43e6c0f568cf86edaa5.zip |
Alacritty now compiles on stable Rust :tada:
Diffstat (limited to 'src/term')
-rw-r--r-- | src/term/cell.rs | 2 | ||||
-rw-r--r-- | src/term/mod.rs | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/term/cell.rs b/src/term/cell.rs index e6e9f340..2cbdf14b 100644 --- a/src/term/cell.rs +++ b/src/term/cell.rs @@ -124,7 +124,7 @@ mod tests { } } -#[cfg(test)] +#[cfg(all(test, feature = "bench"))] mod benches { extern crate test; use super::Cell; diff --git a/src/term/mod.rs b/src/term/mod.rs index 3cf06b2c..e4c64fa5 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -1264,7 +1264,6 @@ impl ansi::Handler for Term { #[cfg(test)] mod tests { extern crate serde_json; - extern crate test; use super::{Term, limit, SizeInfo}; @@ -1314,7 +1313,7 @@ mod tests { } } -#[cfg(test)] +#[cfg(all(test, feature = "bench"))] mod benches { extern crate test; extern crate serde_json as json; |