Skip to content

Commit de5ff55

Browse files
committed
Remove unused panic handlers (panic-halt)
Declaring panic-halt as a depencency works fine for building the example code. But it makes 'cargo doc' fail due to the duplicate lang item 'panic_impl'.
1 parent 27e1439 commit de5ff55

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

src/05-led-roulette/auxiliary/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ version = "0.2.0"
1212
cortex-m = "0.6.4"
1313
cortex-m-rt = "0.6.13"
1414
stm32f3-discovery = "0.6.0"
15-
panic-halt = "0.2.0"
1615
panic-itm = "0.4.2"

src/05-led-roulette/build-it.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ $ cargo build --target thumbv7em-none-eabihf
5757
Compiling cfg-if v1.0.0
5858
Compiling paste v1.0.4
5959
Compiling stm32f3-discovery v0.6.0
60-
Compiling panic-halt v0.2.0
6160
Compiling embedded-dma v0.1.2
6261
Compiling volatile-register v0.2.0
6362
Compiling nb v0.1.3

src/06-hello-world/auxiliary/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ version = "0.2.0"
1111
cortex-m = "0.6.4"
1212
cortex-m-rt = "0.6.13"
1313
stm32f3-discovery = "0.5.0"
14-
panic-halt = "0.2.0"
1514
panic-itm = "0.4.2"

src/07-registers/auxiliary/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ version = "0.2.0"
1111
cortex-m = "0.6.4"
1212
cortex-m-rt = "0.6.13"
1313
stm32f3-discovery = "0.6.0"
14-
panic-halt = "0.2.0"
1514
panic-itm = "0.4.2"
1615

1716
[dependencies.stm32f3]

0 commit comments

Comments
 (0)