Skip to content

Commit 654af57

Browse files
committed
Tweak some CI things for unstable APIs
1 parent 99c59a7 commit 654af57

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ edition = "2018"
1515

1616
[package.metadata.docs.rs]
1717
features = ["serde-serialize"]
18-
rustc-args = ["--cfg=web_sys_unstable_apis"]
1918

2019
[lib]
2120
test = false

azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ jobs:
328328
- script: cargo doc --no-deps --manifest-path crates/web-sys/Cargo.toml --all-features
329329
displayName: "Document web-sys"
330330
env:
331-
RUSTFLAGS: --cfg=web_sys_unstable_apis
331+
RUSTDOCFLAGS: --cfg=web_sys_unstable_apis
332332
- script: cargo doc --no-deps --manifest-path crates/futures/Cargo.toml
333333
displayName: "Document wasm-bindgen-futures"
334334
# Make a tarball even though a zip is uploaded, it looks like the tarball

crates/web-sys/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ edition = "2018"
1414

1515
[package.metadata.docs.rs]
1616
all-features = true
17+
rustdoc-args = ["--cfg=web_sys_unstable_apis"]
1718

1819
[lib]
1920
doctest = false

0 commit comments

Comments
 (0)