Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib: update dependency embedded-hal to 1.0.0 #172

Merged
merged 1 commit into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading