mirror of https://github.com/helix-editor/helix
fix lints
parent
3295f2bd32
commit
6de385df51
|
@ -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",
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue