Skip to content

Commit

Permalink
Use new targets option for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rubberduck203 committed Mar 21, 2020
1 parent b6ab807 commit 121efaa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ exclude = [
maintenance = { status = "actively-developed" }

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

[dependencies]
cortex-m = "0.6.2"
Expand Down

0 comments on commit 121efaa

Please sign in to comment.