Skip to content

Commit

Permalink
Merge pull request #172 from jakezhu9/master
Browse files Browse the repository at this point in the history
lib: update dependency embedded-hal to 1.0.0
  • Loading branch information
romancardenas authored Jan 10, 2024
2 parents 7396326 + 2d0f352 commit c0ce676
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 c0ce676

Please sign in to comment.