Skip to content

Commit 22737d3

Browse files
authored
doc: set docs.rs targets
Previously https://docs.rs/winapi-util went to the x86_64-unknown-linux-gnu build of this crate by default, which is empty. This way the same link will show useful documentation. We achieve this by only building docs for one Windows target. Since the API doesn't vary with other Windows targets, this seems fine. PR BurntSushi#3
1 parent 1d6171c commit 22737d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ features = [
2626
"winerror",
2727
"winnt",
2828
]
29+
30+
[package.metadata.docs.rs]
31+
targets = ["x86_64-pc-windows-msvc"]

0 commit comments

Comments
 (0)