Skip to content

Commit 2844bc3

Browse files
committed
Tell docs.rs to only build for appropriate arm target
1 parent d3f5f15 commit 2844bc3

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

cortex-a-rt/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ vfp-dp = []
2626

2727
[build-dependencies]
2828
arm-targets = {version = "0.1.0", path = "../arm-targets"}
29+
30+
[package.metadata.docs.rs]
31+
targets = ["armv7a-none-eabihf"]

cortex-ar/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,6 @@ critical-section-single-core = ["critical-section"]
4343
critical-section-multi-core = ["critical-section"]
4444
# Adds defmt::Format implementation for the register types
4545
defmt = ["dep:defmt"]
46+
47+
[package.metadata.docs.rs]
48+
targets = ["armv7r-none-eabihf", "armv7r-none-eabi", "armv7a-none-eabihf"]

cortex-r-rt/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,6 @@ eabi-fpu = []
3333

3434
[build-dependencies]
3535
arm-targets = {version = "0.1.0", path = "../arm-targets"}
36+
37+
[package.metadata.docs.rs]
38+
targets = ["armv7r-none-eabihf", "armv7r-none-eabihf"]

0 commit comments

Comments
 (0)