Skip to content

Commit 932bfdd

Browse files
authored
Merge pull request #130 from rust-embedded/bump-msrv-fix-ci
Bump MSRV to 1.85.0 to fix CI
2 parents e9ccbf9 + ecd53bf commit 932bfdd

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- 'async-tokio,gpio_cdev,gpio_sysfs,i2c,spi'
2323

2424
include:
25-
- rust: 1.84.0 # MSRV
25+
- rust: 1.85.0 # MSRV
2626
target: x86_64-unknown-linux-gnu
2727

2828
# Test nightly but don't fail

.github/workflows/clippy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: dtolnay/rust-toolchain@master
1515
with:
16-
toolchain: 1.84.0
16+
toolchain: 1.85.0
1717
components: clippy
1818
- run: cargo clippy --all-features -- --deny=warnings

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99

1010
### Changed
1111

12-
- MSRV is now 1.84.0.
12+
- MSRV is now 1.85.0.
1313
- Set `resolver = "3"`, which implies `resolver.incompatible-rust-versions = "fallback"`
1414

1515
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![crates.io](https://img.shields.io/crates/d/linux-embedded-hal.svg)](https://crates.io/crates/linux-embedded-hal)
22
[![crates.io](https://img.shields.io/crates/v/linux-embedded-hal.svg)](https://crates.io/crates/linux-embedded-hal)
33
[![Documentation](https://docs.rs/linux-embedded-hal/badge.svg)](https://docs.rs/linux-embedded-hal)
4-
![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.84+-blue.svg)
4+
![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.85+-blue.svg)
55

66
# `linux-embedded-hal`
77

@@ -31,7 +31,7 @@ With `default-features = false` you can enable the features `gpio_cdev`, `gpio_s
3131

3232
## Minimum Supported Rust Version (MSRV)
3333

34-
This crate is guaranteed to compile on stable Rust 1.84.0 and up. It *might*
34+
This crate is guaranteed to compile on stable Rust 1.85.0 and up. It *might*
3535
compile with older versions but that may change in any new patch release.
3636

3737
## License

src/sysfs_pin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ impl embedded_hal::digital::InputPin for SysfsPin {
123123
}
124124

125125
fn is_low(&mut self) -> Result<bool, Self::Error> {
126-
self.is_high().map(|val| !val).map_err(SysfsPinError::from)
126+
self.is_high().map(|val| !val)
127127
}
128128
}
129129

0 commit comments

Comments
 (0)