Skip to content

Commit 121efaa

Browse files
committed
Use new targets option for docs
rust-lang/docs.rs#343 (comment)
1 parent b6ab807 commit 121efaa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Cargo.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ exclude = [
1818
maintenance = { status = "actively-developed" }
1919

2020
[package.metadata.docs.rs]
21-
# thumbv7m-none-eabi is not a supported target on docs.rs,
22-
# however the target is not relevant for docs.
23-
# https://github.com/stm32-rs/stm32f3xx-hal/issues/46
24-
default-target = "x86_64-unknown-linux-gnu"
21+
default-target = "thumbv7em-none-eabihf"
22+
targets = [] # build only default target for docs
2523

2624
[dependencies]
2725
cortex-m = "0.6.2"

0 commit comments

Comments
 (0)