Skip to content

Commit a5ee1c9

Browse files
committed
Explicitly specify targets to build on docs.rs
This makes sure that all Windows platforms will have documentation on docs.rs even after docs.rs stops building all tier 1 targets by default. See rust-lang/docs.rs#532 and rust-lang/docs.rs#343 for more context. Additionally, this stops building targets on Mac and Linux since those targets are just empty anyway.
1 parent a5dd3ca commit a5ee1c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ build = "build.rs"
1515
[package.metadata.docs.rs]
1616
features = ["everything", "impl-debug", "impl-default"]
1717
default-target = "x86_64-pc-windows-msvc"
18+
targets = ["x86_64-pc-windows-msvc", "i686-pc-windows-msvc"]
1819

1920
[badges]
2021
travis-ci = { repository = "retep998/winapi-rs", branch = "0.3" }

0 commit comments

Comments
 (0)