Tweak some CI things for unstable APIs

This commit is contained in:
Alex Crichton
2020-02-26 14:36:23 -08:00
parent 99c59a771e
commit 654af576c7
3 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,6 @@ edition = "2018"
[package.metadata.docs.rs]
features = ["serde-serialize"]
rustc-args = ["--cfg=web_sys_unstable_apis"]
[lib]
test = false

View File

@ -328,7 +328,7 @@ jobs:
- script: cargo doc --no-deps --manifest-path crates/web-sys/Cargo.toml --all-features
displayName: "Document web-sys"
env:
RUSTFLAGS: --cfg=web_sys_unstable_apis
RUSTDOCFLAGS: --cfg=web_sys_unstable_apis
- script: cargo doc --no-deps --manifest-path crates/futures/Cargo.toml
displayName: "Document wasm-bindgen-futures"
# Make a tarball even though a zip is uploaded, it looks like the tarball

View File

@ -14,6 +14,7 @@ edition = "2018"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg=web_sys_unstable_apis"]
[lib]
doctest = false