ci: Enable web_sys_unstable_apis for nightly

The custom RUSTFLAGS from CI overrides .cargo/config.toml.
This commit is contained in:
Kamil Jarosz 2024-06-12 17:06:07 +02:00
parent e75851f4fa
commit e086ca0719
1 changed files with 1 additions and 1 deletions

View File

@ -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