@@ -122,6 +122,10 @@ jobs:
122
122
- script : cargo build --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown --features Element
123
123
- script : cargo build --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown --features Window
124
124
- script : cargo test --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown --all-features
125
+ - script : cargo test --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown --all-features
126
+ displayName : " web-sys unstable APIs"
127
+ env :
128
+ RUSTFLAGS : --cfg=web_sys_unstable_apis
125
129
126
130
- job : test_js_sys
127
131
displayName : " Run js-sys crate tests"
@@ -150,6 +154,10 @@ jobs:
150
154
- script : cargo test -p webidl-tests --target wasm32-unknown-unknown
151
155
env :
152
156
WBINDGEN_I_PROMISE_JS_SYNTAX_WORKS_IN_NODE : 1
157
+ - script : cargo test -p webidl-tests --target wasm32-unknown-unknown
158
+ displayName : " webidl-tests unstable APIs"
159
+ env :
160
+ RUSTFLAGS : --cfg=web_sys_unstable_apis
153
161
154
162
- job : test_ui
155
163
displayName : " Run UI tests"
@@ -319,6 +327,8 @@ jobs:
319
327
displayName : " Document js-sys"
320
328
- script : cargo doc --no-deps --manifest-path crates/web-sys/Cargo.toml --all-features
321
329
displayName : " Document web-sys"
330
+ env :
331
+ RUSTFLAGS : --cfg=web_sys_unstable_apis
322
332
- script : cargo doc --no-deps --manifest-path crates/futures/Cargo.toml
323
333
displayName : " Document wasm-bindgen-futures"
324
334
# Make a tarball even though a zip is uploaded, it looks like the tarball
0 commit comments