Skip to content

Commit fc82cf7

Browse files
bors[bot]almindor
andauthored
Merge #83
83: update bare-metal and remove Nr trait r=Disasm a=almindor Co-authored-by: Ales Katona <[email protected]>
2 parents 75cf170 + c204d8d commit fc82cf7

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
- Update `bare-metal` to `v1.0.0` removing `Nr` trait
11+
1012
### Changed
1113

1214
- Build targets on `docs.rs` are now RISC-V targets other than default ones

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ targets = [
1616
]
1717

1818
[dependencies]
19-
bare-metal = "0.2.5"
19+
bare-metal = "1.0.0"
2020
bit_field = "0.10.0"
2121

2222
[build-dependencies]

src/interrupt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Interrupts
22
33
// NOTE: Adapted from cortex-m/src/interrupt.rs
4-
pub use bare_metal::{CriticalSection, Mutex, Nr};
4+
pub use bare_metal::{CriticalSection, Mutex};
55
use register::mstatus;
66

77
/// Disables all interrupts

0 commit comments

Comments
 (0)