File tree Expand file tree Collapse file tree 3 files changed +19
-7
lines changed Expand file tree Collapse file tree 3 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
clippy :
10
10
runs-on : ubuntu-latest
11
+ strategy :
12
+ matrix :
13
+ include :
14
+ - rust : 1.54
15
+ features : ' '
16
+ - rust : 1.63
17
+ features : ' '
18
+ - rust : 1.63
19
+ features : ' std'
11
20
steps :
12
21
- uses : actions/checkout@v2
13
22
- name : Install Rust
14
23
uses : actions-rs/toolchain@v1
15
24
with :
16
- toolchain : 1.63
25
+ toolchain : ${{matrix.rust}}
17
26
components : clippy
18
27
override : true
19
- - name : Build
20
- run : cargo clippy
21
- - name : Build for std
22
- run : cargo clippy --features std
28
+ - name : Clippy check
29
+ run : cargo clippy --features "${{matrix.features}}"
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " critical-section"
3
3
version = " 1.0.0"
4
- edition = " 2021 "
4
+ edition = " 2018 "
5
5
description = " Cross-platform critical section"
6
6
repository = " https://github.com/rust-embedded/critical-section"
7
7
readme = " README.md"
Original file line number Diff line number Diff line change @@ -191,7 +191,12 @@ which would be unsound.
191
191
192
192
## Minimum Supported Rust Version (MSRV)
193
193
194
- This crate is guaranteed to compile on stable Rust 1.63 and up. It might compile with older versions but that may change in any new patch release.
194
+ This crate is guaranteed to compile on the following Rust versions:
195
+
196
+ - If the ` std ` feature is not enabled: stable Rust 1.54 and up.
197
+ - If the ` std ` feature is enabled: stable Rust 1.63 and up.
198
+
199
+ It might compile with older versions but that may change in any new patch release.
195
200
196
201
## License
197
202
You can’t perform that action at this time.
0 commit comments