diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2022-02-09 19:25:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 19:25:36 +0300 |
commit | 8afeb2c602bc479ae2554178ea1ed176a18af8f5 (patch) | |
tree | 8d64d0efc6761d53bd7d94006e62f1c5e2b429e4 /alacritty/src | |
parent | 59f16f6b1568d95e7b183c75742c537b3f09a47d (diff) | |
download | r-alacritty-8afeb2c602bc479ae2554178ea1ed176a18af8f5.tar.gz r-alacritty-8afeb2c602bc479ae2554178ea1ed176a18af8f5.tar.bz2 r-alacritty-8afeb2c602bc479ae2554178ea1ed176a18af8f5.zip |
Fix warnings when building only with Wayland feature
This commit also makes our CI fail hard when warning encountered when
building only for either Wayland or X11.
Diffstat (limited to 'alacritty/src')
-rw-r--r-- | alacritty/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/main.rs b/alacritty/src/main.rs index 70991871..368151b4 100644 --- a/alacritty/src/main.rs +++ b/alacritty/src/main.rs @@ -20,7 +20,7 @@ use std::string::ToString; use std::{fs, process}; use glutin::event_loop::EventLoop as GlutinEventLoop; -#[cfg(not(any(target_os = "macos", windows)))] +#[cfg(all(feature = "x11", not(any(target_os = "macos", windows))))] use glutin::platform::unix::EventLoopWindowTargetExtUnix; use log::info; #[cfg(windows)] |