Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit efcabae

Browse files
committed
Use RUSTDOCFLAGS in CI
Unfortunately, `cargo doc` doesn't use `RUSTFLAGS`, which made our `lsps1`-cfg-gated CI check useless so far. Here, we fix this by using `RUSTDOCFLAGS` instead.
1 parent 587ffe7 commit efcabae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
run: |
3636
cargo doc --release
3737
cargo doc --no-default-features --features no-std
38-
RUSTFLAGS="--cfg lsps1" cargo doc --release
39-
RUSTFLAGS="--cfg lsps1" cargo doc --no-default-features --features no-std
38+
RUSTDOCFLAGS="--cfg lsps1" cargo doc --release
39+
RUSTDOCFLAGS="--cfg lsps1" cargo doc --no-default-features --features no-std
4040
- name: Build on Rust ${{ matrix.toolchain }}
4141
run: cargo build --verbose --color always
4242
- name: Check formatting

0 commit comments

Comments
 (0)