Skip to content

Commit e62dee6

Browse files
committed
Rename std-map feature to std before releasing it, to align with the rename in v0.8
1 parent e3d321b commit e62dee6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ cm7 = []
3131
cm7-r0p1 = ["cm7"]
3232
inline-asm = []
3333
linker-plugin-lto = []
34-
std-map = []
34+
std = []
3535

3636
[workspace]
3737
members = ["xtask", "cortex-m-semihosting", "panic-semihosting", "panic-itm"]

Diff for: src/peripheral/scb.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ impl SCB {
197197
/// Processor core exceptions (internal interrupts)
198198
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
199199
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
200-
#[cfg_attr(feature = "std-map", derive(PartialOrd, Hash))]
200+
#[cfg_attr(feature = "std", derive(PartialOrd, Hash))]
201201
pub enum Exception {
202202
/// Non maskable interrupt
203203
NonMaskableInt,
@@ -264,7 +264,7 @@ impl Exception {
264264
/// Active exception number
265265
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
266266
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
267-
#[cfg_attr(feature = "std-map", derive(PartialOrd, Hash))]
267+
#[cfg_attr(feature = "std", derive(PartialOrd, Hash))]
268268
pub enum VectActive {
269269
/// Thread mode
270270
ThreadMode,

Diff for: xtask/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ harness = false
1111

1212
[dependencies]
1313
ar = "0.8.0"
14-
cortex-m = { path = "../", features = ["serde", "std-map"] }
14+
cortex-m = { path = "../", features = ["serde", "std"] }
1515
serde_json = "1"

0 commit comments

Comments
 (0)