aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal
diff options
context:
space:
mode:
authorKirill Chibisov <wchibisovkirill@gmail.com>2019-10-23 22:17:09 +0300
committerChristian Duerr <contact@christianduerr.com>2019-10-23 21:17:09 +0200
commitd76bb0c69793eda42d0e46d4a7c7218b8a3a4a37 (patch)
treea2c25ac330209d936fa2846d367669f0ed4c97a5 /alacritty_terminal
parent9e0b9d5de1b8fe2d9d8ed80f73b4ad0fda171f22 (diff)
downloadr-alacritty-d76bb0c69793eda42d0e46d4a7c7218b8a3a4a37.tar.gz
r-alacritty-d76bb0c69793eda42d0e46d4a7c7218b8a3a4a37.tar.bz2
r-alacritty-d76bb0c69793eda42d0e46d4a7c7218b8a3a4a37.zip
Update dependencies
Diffstat (limited to 'alacritty_terminal')
-rw-r--r--alacritty_terminal/Cargo.toml5
-rw-r--r--alacritty_terminal/src/grid/storage.rs3
2 files changed, 3 insertions, 5 deletions
diff --git a/alacritty_terminal/Cargo.toml b/alacritty_terminal/Cargo.toml
index 949cdad5..7502ce7c 100644
--- a/alacritty_terminal/Cargo.toml
+++ b/alacritty_terminal/Cargo.toml
@@ -24,14 +24,13 @@ log = "0.4"
fnv = "1"
unicode-width = "0.1"
base64 = "0.10.0"
-static_assertions = "0.3.0"
terminfo = "0.6.1"
url = "2"
copypasta = { path = "../copypasta" }
rfind_url = "0.4.0"
[target.'cfg(unix)'.dependencies]
-nix = "0.14.1"
+nix = "0.15.0"
signal-hook = { version = "0.1", features = ["mio-support"] }
[target.'cfg(windows)'.dependencies]
@@ -54,7 +53,7 @@ nightly = []
bench = []
[build-dependencies]
-gl_generator = "0.13.0"
+gl_generator = "0.14.0"
[dev-dependencies]
serde_json = "1.0.0"
diff --git a/alacritty_terminal/src/grid/storage.rs b/alacritty_terminal/src/grid/storage.rs
index 2004cece..b4ff70a2 100644
--- a/alacritty_terminal/src/grid/storage.rs
+++ b/alacritty_terminal/src/grid/storage.rs
@@ -15,7 +15,6 @@ use std::ops::{Index, IndexMut};
use std::vec::Drain;
use serde::{Deserialize, Serialize};
-use static_assertions::assert_eq_size;
use super::Row;
use crate::index::Line;
@@ -221,7 +220,7 @@ impl<T> Storage<T> {
/// instructions. This implementation achieves the swap in only 8 movups
/// instructions.
pub fn swap(&mut self, a: usize, b: usize) {
- assert_eq_size!(Row<T>, [usize; 4]);
+ debug_assert_eq!(std::mem::size_of::<Row<T>>(), 32);
let a = self.compute_index(a);
let b = self.compute_index(b);