Skip to content

Commit ecbec8c

Browse files
committed
CI: always deny warnings
1 parent 05b8df7 commit ecbec8c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
env:
1111
CARGO_TERM_COLOR: always
12+
RUSTFLAGS: "-D warnings"
1213

1314
jobs:
1415
style:

src/ptp/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use crate::{dma::EthernetDMA, hal::rcc::Clocks, mac::EthernetMAC, peripherals::E
77
mod timestamp;
88
pub use timestamp::Timestamp;
99

10-
#[cfg(feature = "async-await")]
10+
#[cfg(all(not(feature = "stm32f1xx-hal"), feature = "async-await"))]
1111
use {core::task::Poll, futures::task::AtomicWaker};
1212

1313
mod subseconds;

0 commit comments

Comments
 (0)