summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/tty/unix.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2019-06-09 19:52:48 +0200
committerChristian Duerr <chrisduerr@users.noreply.github.com>2019-06-09 17:52:48 +0000
commitf59aa19892724f41e3a56817fb69e95413312920 (patch)
treed018bc4855b0650d5ad5fd2b43c8949488df9099 /alacritty_terminal/src/tty/unix.rs
parent55d346c7d44215c51187cafcac79e3504209f942 (diff)
downloadalacritty-f59aa19892724f41e3a56817fb69e95413312920.tar.gz
alacritty-f59aa19892724f41e3a56817fb69e95413312920.zip
Fix compiler warnings
Diffstat (limited to 'alacritty_terminal/src/tty/unix.rs')
-rw-r--r--alacritty_terminal/src/tty/unix.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/alacritty_terminal/src/tty/unix.rs b/alacritty_terminal/src/tty/unix.rs
index 0cf1a821..cafa7027 100644
--- a/alacritty_terminal/src/tty/unix.rs
+++ b/alacritty_terminal/src/tty/unix.rs
@@ -194,6 +194,8 @@ pub fn new<T: ToWinsize>(config: &Config, size: &T, window_id: Option<usize>) ->
builder.env("WINDOWID", format!("{}", window_id));
}
+ // TODO: Rust 1.34.0
+ #[allow(deprecated)]
builder.before_exec(move || {
// Create a new process group
unsafe {