File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,4 +24,4 @@ default = ["jlink-quirks"]
24
24
25
25
[dependencies ]
26
26
critical-section = " 1.0.0"
27
- riscv = {path = " ../riscv" , version = " 0.10.1" }
27
+ riscv = { path = " ../riscv" , version = " 0.10.1" }
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
25
25
### Changed
26
26
27
27
- Cargo workspace for riscv and riscv-rt
28
- - Update ` embedded-hal ` dependency to v1.0.0-rc.2 (bumps MSRV to 1.60)
28
+ - Update ` embedded-hal ` dependency to v1.0.0 (bumps MSRV to 1.60)
29
29
- ` misa::MXL ` renamed to ` misa::XLEN `
30
30
- Removed ` bit_field ` dependency
31
31
- CI actions updated. They now use ` checkout@v3 ` and ` dtolnay/rust-toolchain ` .
Original file line number Diff line number Diff line change @@ -25,4 +25,4 @@ critical-section-single-hart = ["critical-section/restore-state-bool"]
25
25
26
26
[dependencies ]
27
27
critical-section = " 1.1.2"
28
- embedded-hal = " 1.0.0-rc.2 "
28
+ embedded-hal = " 1.0.0"
Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ impl Misa {
46
46
///
47
47
/// # Example
48
48
///
49
- /// ``` no_run
50
- /// let misa = unsafe { riscv::register::misa::read() };
49
+ /// ```no_run
50
+ /// let misa = unsafe { riscv::register::misa::read() }.unwrap() ;
51
51
/// assert!(misa.has_extension('A')); // panics if atomic extension is not implemented
52
52
/// ```
53
53
#[ inline]
You can’t perform that action at this time.
0 commit comments