Skip to content

Commit 9ef608a

Browse files
committed
fix(build): do not block builds on warnings
1 parent 789b815 commit 9ef608a

File tree

4 files changed

+1
-7
lines changed

4 files changed

+1
-7
lines changed

.github/workflows/linux-build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77

88
env:
99
CARGO_TERM_COLOR: always
10-
RUSTFLAGS: "-Dwarnings"
1110

1211
jobs:
1312
build-linux-x64:

.github/workflows/macos-build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77

88
env:
99
CARGO_TERM_COLOR: always
10-
RUSTFLAGS: "-Dwarnings"
1110

1211
jobs:
1312
build-macos-arm64:

.github/workflows/windows-build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77

88
env:
99
CARGO_TERM_COLOR: always
10-
RUSTFLAGS: "-Dwarnings"
1110

1211
jobs:
1312
build-windows-x64:

src/oskbd/macos.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -383,10 +383,7 @@ impl KbdOut {
383383

384384
fn pressed_buttons() -> usize {
385385
if let Some(ns_event) = Class::get("NSEvent") {
386-
unsafe {
387-
#[allow(unexpected_cfgs)]
388-
msg_send![ns_event, pressedMouseButtons]
389-
}
386+
unsafe { msg_send![ns_event, pressedMouseButtons] }
390387
} else {
391388
0
392389
}

0 commit comments

Comments
 (0)