Skip to content

Commit 2d0f352

Browse files
committed
lib: update dependency embedded-hal to 1.0.0
Signed-off-by: jakezhu9 <[email protected]>
1 parent 7396326 commit 2d0f352

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

riscv-semihosting/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ default = ["jlink-quirks"]
2424

2525
[dependencies]
2626
critical-section = "1.0.0"
27-
riscv = {path = "../riscv", version = "0.10.1"}
27+
riscv = { path = "../riscv", version = "0.10.1" }

riscv/CHANGELOG.md

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

2727
- 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)
2929
- `misa::MXL` renamed to `misa::XLEN`
3030
- Removed `bit_field` dependency
3131
- CI actions updated. They now use `checkout@v3` and `dtolnay/rust-toolchain`.

riscv/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ critical-section-single-hart = ["critical-section/restore-state-bool"]
2525

2626
[dependencies]
2727
critical-section = "1.1.2"
28-
embedded-hal = "1.0.0-rc.2"
28+
embedded-hal = "1.0.0"

riscv/src/register/misa.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ impl Misa {
4646
///
4747
/// # Example
4848
///
49-
/// ``` no_run
50-
/// let misa = unsafe { riscv::register::misa::read() };
49+
/// ```no_run
50+
/// let misa = unsafe { riscv::register::misa::read() }.unwrap();
5151
/// assert!(misa.has_extension('A')); // panics if atomic extension is not implemented
5252
/// ```
5353
#[inline]

0 commit comments

Comments
 (0)