From 654af576c7defa77fb152f9c6a04f0bb893e4b09 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 26 Feb 2020 14:36:23 -0800 Subject: [PATCH] Tweak some CI things for unstable APIs --- Cargo.toml | 1 - azure-pipelines.yml | 2 +- crates/web-sys/Cargo.toml | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 45473c90..d5efdc13 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,6 @@ edition = "2018" [package.metadata.docs.rs] features = ["serde-serialize"] -rustc-args = ["--cfg=web_sys_unstable_apis"] [lib] test = false diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2261d673..6ee46572 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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 diff --git a/crates/web-sys/Cargo.toml b/crates/web-sys/Cargo.toml index 75fc4fa0..fc1342a5 100644 --- a/crates/web-sys/Cargo.toml +++ b/crates/web-sys/Cargo.toml @@ -14,6 +14,7 @@ edition = "2018" [package.metadata.docs.rs] all-features = true +rustdoc-args = ["--cfg=web_sys_unstable_apis"] [lib] doctest = false