From 6de385df514ee3deb4cdc0df8a7f3fff6cfd29a9 Mon Sep 17 00:00:00 2001 From: Evgeniy Tatarkin Date: Wed, 14 May 2025 21:22:03 +0300 Subject: [PATCH] fix lints --- helix-term/build.rs | 1 + helix-view/build.rs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/helix-term/build.rs b/helix-term/build.rs index 4352404bf..c3b56e1e8 100644 --- a/helix-term/build.rs +++ b/helix-term/build.rs @@ -11,6 +11,7 @@ fn main() { windows_rc::link_icon_in_windows_exe("../contrib/helix-256p.ico"); // alias scancode feature flag + println!("cargo::rustc-check-cfg=cfg(scancode)"); #[cfg(any( feature = "scancode-query", feature = "scancode-evdev", diff --git a/helix-view/build.rs b/helix-view/build.rs index 4f77f3feb..8b735d8f4 100644 --- a/helix-view/build.rs +++ b/helix-view/build.rs @@ -1,9 +1,10 @@ fn main() { // alias scancode feature flag + println!("cargo::rustc-check-cfg=cfg(scancode)"); #[cfg(any( feature = "scancode-query", feature = "scancode-evdev", feature = "scancode-hidapi" - ))] + ))] println!("cargo:rustc-cfg=scancode") }