Skip to content

Commit 5df51e5

Browse files
committed
ci: test io with std and alloc features, update nightly.
1 parent 31b62d3 commit 5df51e5

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/clippy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
with:
1616
# embedded-hal-async needs nightly.
1717
# Use a pinned version to avoid spontaneous breakages (new clippy lints are added often)
18-
toolchain: nightly-2022-11-22
18+
toolchain: nightly-2023-07-03
1919
components: clippy
20-
- run: cargo clippy --features=embedded-hal-bus/std -- --deny=warnings
20+
- run: cargo clippy --features=std -- --deny=warnings

.github/workflows/test.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
- thumbv7m-none-eabi
2626
include:
2727
- target: x86_64-unknown-linux-gnu
28-
features: embedded-hal-bus/std
28+
features: std
29+
- target: x86_64-unknown-linux-gnu
30+
features: alloc
2931

3032
steps:
3133
- uses: actions/checkout@v3

embedded-hal-async/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#![doc = include_str!("../README.md")]
22
#![warn(missing_docs)]
33
#![no_std]
4-
#![allow(incomplete_features)]
54
#![feature(async_fn_in_trait, impl_trait_projections)]
65

76
pub mod delay;

0 commit comments

Comments
 (0)