File tree 7 files changed +7
-25
lines changed
7 files changed +7
-25
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ delete_merged_branches = true
3
3
required_approvals = 1
4
4
status = [
5
5
" ci-linux (stable)" ,
6
- " ci-linux (1.38 .0)" ,
6
+ " ci-linux (1.59 .0)" ,
7
7
" rustfmt" ,
8
8
" clippy" ,
9
9
]
Original file line number Diff line number Diff line change 17
17
18
18
include :
19
19
# Test MSRV
20
- - rust : 1.38 .0
20
+ - rust : 1.59 .0
21
21
features : " "
22
22
23
23
# Test nightly but don't fail
Original file line number Diff line number Diff line change @@ -28,20 +28,7 @@ features = [ "derive" ]
28
28
optional = true
29
29
30
30
[dependencies .serde_json ]
31
- version = " >=1.0.0,<=1.0.100"
32
- optional = true
33
-
34
-
35
- [dependencies .nb ]
36
- version = " =0.1.2"
37
- optional = true
38
-
39
- [dependencies .proc-macro2 ]
40
- version = " =1.0.65"
41
- optional = true
42
-
43
- [dependencies .serde_derive ]
44
- version = " =1.0.156"
31
+ version = " 1"
45
32
optional = true
46
33
47
34
[features ]
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ This project is developed and maintained by the [Cortex-M team][team].
11
11
12
12
## Minimum Supported Rust Version (MSRV)
13
13
14
- This crate is guaranteed to compile on stable Rust 1.38 and up. It might compile with older versions but that may change in any new patch release.
14
+ This crate is guaranteed to compile on stable Rust 1.59 and up. It might compile with older versions but that may change in any new patch release.
15
15
16
16
## License
17
17
Original file line number Diff line number Diff line change 63
63
//!
64
64
//! # Minimum Supported Rust Version (MSRV)
65
65
//!
66
- //! This crate is guaranteed to compile on stable Rust 1.38 and up. It *might*
66
+ //! This crate is guaranteed to compile on stable Rust 1.59 and up. It *might*
67
67
//! compile with older versions but that may change in any new patch release.
68
68
69
69
#![ deny( missing_docs) ]
Original file line number Diff line number Diff line change @@ -173,10 +173,7 @@ impl SCB {
173
173
let icsr = unsafe { ptr:: read ( & ( * SCB :: PTR ) . icsr as * const _ as * const u32 ) } ;
174
174
175
175
// NOTE(unsafe): Assume correctly selected target.
176
- match VectActive :: from ( icsr as u8 ) {
177
- Some ( val) => val,
178
- None => unsafe { core:: hint:: unreachable_unchecked ( ) } ,
179
- }
176
+ unsafe { VectActive :: from ( icsr as u8 ) . unwrap_unchecked ( ) }
180
177
}
181
178
}
182
179
Original file line number Diff line number Diff line change @@ -58,8 +58,6 @@ fn check_crates_build(is_nightly: bool, is_msrv: bool) {
58
58
// Relies on all crates in this repo to use the same convention.
59
59
let should_use_feature = |feat : & str | {
60
60
match feat {
61
- // critical-section doesn't build in 1.38 due to using `#[doc(include_str!(..))]`
62
- "critical-section-single-core" => !is_msrv,
63
61
// This is nightly-only, so don't use it on stable.
64
62
"inline-asm" => is_nightly,
65
63
// This only affects thumbv7em targets.
@@ -105,7 +103,7 @@ fn main() {
105
103
106
104
let output = Command :: new ( "rustc" ) . arg ( "-V" ) . output ( ) . unwrap ( ) ;
107
105
let is_nightly = str:: from_utf8 ( & output. stdout ) . unwrap ( ) . contains ( "nightly" ) ;
108
- let is_msrv = str:: from_utf8 ( & output. stdout ) . unwrap ( ) . contains ( "1.38 " ) ;
106
+ let is_msrv = str:: from_utf8 ( & output. stdout ) . unwrap ( ) . contains ( "1.59 " ) ;
109
107
110
108
check_crates_build ( is_nightly, is_msrv) ;
111
109
You can’t perform that action at this time.
0 commit comments