Skip to content

Commit

Permalink
Rename std-map feature to std before releasing it, to align with the …
Browse files Browse the repository at this point in the history
…rename in v0.8
  • Loading branch information
adamgreig committed Dec 31, 2021
1 parent e3d321b commit e62dee6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ cm7 = []
cm7-r0p1 = ["cm7"]
inline-asm = []
linker-plugin-lto = []
std-map = []
std = []

[workspace]
members = ["xtask", "cortex-m-semihosting", "panic-semihosting", "panic-itm"]
Expand Down
4 changes: 2 additions & 2 deletions src/peripheral/scb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ impl SCB {
/// Processor core exceptions (internal interrupts)
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "std-map", derive(PartialOrd, Hash))]
#[cfg_attr(feature = "std", derive(PartialOrd, Hash))]
pub enum Exception {
/// Non maskable interrupt
NonMaskableInt,
Expand Down Expand Up @@ -264,7 +264,7 @@ impl Exception {
/// Active exception number
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "std-map", derive(PartialOrd, Hash))]
#[cfg_attr(feature = "std", derive(PartialOrd, Hash))]
pub enum VectActive {
/// Thread mode
ThreadMode,
Expand Down
2 changes: 1 addition & 1 deletion xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ harness = false

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

0 comments on commit e62dee6

Please sign in to comment.