Skip to content

Commit 6192b0d

Browse files
committed
Add cortex-m targets to docs.rs
Since rust-embedded/cortex-m#256 (released in v0.7) the docs links from cortex-m to this crate link to the target specific version. As these targets are not included on this crate the links fail. For example; see the links to RO on this page https://docs.rs/cortex-m/0.7.3/cortex_m/peripheral/cpuid/struct.RegisterBlock.html
1 parent 1cf5d92 commit 6192b0d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Cargo.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,19 @@ version = "0.2.0"
1313

1414
[dependencies]
1515
vcell = "0.1.0"
16+
17+
[package.metadata.docs.rs]
18+
targets = [
19+
"x86_64-unknown-linux-gnu",
20+
"x86_64-apple-darwin",
21+
"x86_64-pc-windows-msvc",
22+
"i686-unknown-linux-gnu",
23+
"i686-pc-windows-msvc",
24+
"thumbv8m.main-none-eabihf",
25+
"thumbv6m-none-eabi",
26+
"thumbv7em-none-eabi",
27+
"thumbv7em-none-eabihf",
28+
"thumbv7m-none-eabi",
29+
"thumbv8m.base-none-eabi",
30+
"thumbv8m.main-none-eabi",
31+
]

0 commit comments

Comments
 (0)