ci: Enable web_sys_unstable_apis for nightly
The custom RUSTFLAGS from CI overrides .cargo/config.toml.
This commit is contained in:
parent
e75851f4fa
commit
e086ca0719
|
@ -69,7 +69,7 @@ jobs:
|
||||||
- name: Disable linker start-stop-gc
|
- name: Disable linker start-stop-gc
|
||||||
# Note: We also use `rust-lld` on Windows, see `config.toml`.
|
# Note: We also use `rust-lld` on Windows, see `config.toml`.
|
||||||
if: runner.os != 'macOS'
|
if: runner.os != 'macOS'
|
||||||
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Clink-args=-znostart-stop-gc >> $GITHUB_ENV
|
run: echo RUSTFLAGS=${RUSTFLAGS}\ --cfg=web_sys_unstable_apis\ -Clink-args=-znostart-stop-gc >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Cache Cargo output
|
- name: Cache Cargo output
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
|
|
Loading…
Reference in New Issue