Skip to content

Commit e29948c

Browse files
committed
use e-h-1
1 parent b2183c6 commit e29948c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

riscv-peripheral/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
embedded-hal = "1.0.0-rc.3"
10-
embedded-hal-async = { version = "1.0.0-rc.3", optional = true }
9+
embedded-hal = "1.0.0"
10+
embedded-hal-async = { version = "1.0.0", optional = true }
1111
riscv = { path = "../riscv", version = "0.10" }
1212
riscv-pac = { path = "../riscv-pac", version = "0.1.0" }
1313

riscv-semihosting/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
55

66
## [Unreleased]
77

8+
- Address clippy warnings
89
- Add recommendation for `semihosting` in README.md.
910
- Bug fixes
1011
- Moved to the `riscv` Cargo workspace

riscv-semihosting/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ pub unsafe fn syscall1(_nr: usize, _arg: usize) -> usize {
216216
#[cfg(all(riscv, not(feature = "no-semihosting")))]
217217
() => {
218218
let mut nr = _nr;
219-
let mut arg = _arg;
219+
let arg = _arg;
220220
// The instructions below must always be uncompressed, otherwise
221221
// it will be treated as a regular break, hence the norvc option.
222222
//

0 commit comments

Comments
 (0)