[naga] Fix cargo doc --document-private-items. Add to CI.

This commit is contained in:
Jim Blandy authored and Teodor Tanasoaia committed 2024-05-24 10:38:06 +02:00
1 parent 9e0fd17726
commit aaefc7c10d
3 files changed
+10 -2

No files matched your search

+5 -1
View File
@@ -237,7 +237,11 @@ jobs:
set -e
# wgpu_core package
cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} --all-features --no-deps --package wgpu-core --package wgpu-hal --document-private-items
cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} \
--package wgpu-core \
--package wgpu-hal \
--package naga \
--all-features --no-deps --document-private-items
# We run minimal checks on the MSRV of the core crates, ensuring that
# its dependency tree does not cause issues for firefox.