Only build for linux on docs.rs (#611)

The public documentation is minimal and doesn't change between
platforms, so we only build them for linux on docs.rs to save
their build machines some cycles.
This commit is contained in:
Casey Rodarmor 2020-03-17 21:03:47 -07:00 committed by GitHub
parent e79482f2dc
commit 2da5581d0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,3 +44,9 @@ which = "3"
# to crates.io. In the meantime, we can publish with nighlty cargo.
[dev-dependencies.test-utilities]
path = "test-utilities"
# The public documentation is minimal and doesn't change between
# platforms, so we only build them for linux on docs.rs to save
# their build machines some cycles.
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]