Skip to content

Commit 0ca7596

Browse files
committed
Add docs.rs document build metadata
1 parent f235452 commit 0ca7596

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ description = "Low level access to RISC-V processors"
88
keywords = ["riscv", "register", "peripheral"]
99
license = "ISC"
1010

11+
[package.metadata.docs.rs]
12+
default-target = "riscv64imac-unknown-none-elf"
13+
targets = [
14+
"riscv32i-unknown-none-elf", "riscv32imc-unknown-none-elf", "riscv32imac-unknown-none-elf",
15+
"riscv64imac-unknown-none-elf", "riscv64gc-unknown-none-elf",
16+
]
17+
1118
[dependencies]
1219
bare-metal = "0.2.5"
1320
bit_field = "0.10.0"

0 commit comments

Comments
 (0)