CI: Also set `RUSTDOCFLAGS`

`rustdoc` doesn't support all the same flags as `rustc`, so it doesn't
listen to `RUSTFLAGS` and has its own env variable. We are only setting
flags that both understand.
This commit is contained in:
Jack Grigg 2024-01-27 00:31:00 +00:00
parent b1d9689b8a
commit 85095af96e
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ jobs:
extra_flags: zfuture extra_flags: zfuture
env: env:
RUSTFLAGS: ${{ matrix.rustflags }} RUSTFLAGS: ${{ matrix.rustflags }}
RUSTDOCFLAGS: ${{ matrix.rustflags }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4