Skip to content

Commit

Permalink
lib: update dependency embedded-hal to 1.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: jakezhu9 <[email protected]>
  • Loading branch information
jakezhu9 committed Jan 10, 2024
1 parent 7396326 commit 2d0f352
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion riscv-semihosting/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ default = ["jlink-quirks"]

[dependencies]
critical-section = "1.0.0"
riscv = {path = "../riscv", version = "0.10.1"}
riscv = { path = "../riscv", version = "0.10.1" }
2 changes: 1 addition & 1 deletion riscv/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Changed

- Cargo workspace for riscv and riscv-rt
- Update `embedded-hal` dependency to v1.0.0-rc.2 (bumps MSRV to 1.60)
- Update `embedded-hal` dependency to v1.0.0 (bumps MSRV to 1.60)
- `misa::MXL` renamed to `misa::XLEN`
- Removed `bit_field` dependency
- CI actions updated. They now use `checkout@v3` and `dtolnay/rust-toolchain`.
Expand Down
2 changes: 1 addition & 1 deletion riscv/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ critical-section-single-hart = ["critical-section/restore-state-bool"]

[dependencies]
critical-section = "1.1.2"
embedded-hal = "1.0.0-rc.2"
embedded-hal = "1.0.0"
4 changes: 2 additions & 2 deletions riscv/src/register/misa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ impl Misa {
///
/// # Example
///
/// ``` no_run
/// let misa = unsafe { riscv::register::misa::read() };
/// ```no_run
/// let misa = unsafe { riscv::register::misa::read() }.unwrap();
/// assert!(misa.has_extension('A')); // panics if atomic extension is not implemented
/// ```
#[inline]
Expand Down

0 comments on commit 2d0f352

Please sign in to comment.