@@ -150,10 +150,10 @@ jobs:
150
150
cargo -V
151
151
152
152
# Use special toolchain for rustdoc, see https://github.com/gfx-rs/wgpu/issues/4905
153
- # - name: Install Rustdoc Toolchain
154
- # run: |
155
- # rustup toolchain install ${{ env.DOCS_RUST_VERSION }} --no-self-update --profile=minimal --component rust-docs --target ${{ matrix.target }}
156
- # cargo +${{ env.DOCS_RUST_VERSION }} -V
153
+ - name : Install Rustdoc Toolchain
154
+ run : |
155
+ rustup toolchain install ${{ env.DOCS_RUST_VERSION }} --no-self-update --profile=minimal --component rust-docs --target ${{ matrix.target }}
156
+ cargo +${{ env.DOCS_RUST_VERSION }} -V
157
157
158
158
- name : disable debug
159
159
shell : bash
@@ -195,11 +195,11 @@ jobs:
195
195
# build for WebGPU
196
196
cargo clippy --target ${{ matrix.target }} --tests --features glsl,spirv,fragile-send-sync-non-atomic-wasm
197
197
cargo clippy --target ${{ matrix.target }} --tests --features glsl,spirv
198
- # cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} --no-deps --features glsl,spirv
198
+ cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} --no-deps --features glsl,spirv
199
199
200
200
# all features
201
201
cargo clippy --target ${{ matrix.target }} --tests --all-features
202
- # cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} --no-deps --all-features
202
+ cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} --no-deps --all-features
203
203
204
204
- name : check em
205
205
if : matrix.kind == 'em'
@@ -229,13 +229,15 @@ jobs:
229
229
cargo clippy --target ${{ matrix.target }} --tests --benches --all-features
230
230
231
231
# build docs
232
- # cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} --all-features --no-deps
232
+ cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} --all-features --no-deps
233
+ # wgpu-core docs are not feasible due to <https://github.com/gfx-rs/wgpu/issues/4905>
234
+ #
233
235
# - name: check private item docs
234
236
# if: matrix.kind == 'native'
235
237
# shell: bash
236
238
# run: |
237
239
# set -e
238
-
240
+ #
239
241
# # wgpu_core package
240
242
# cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} \
241
243
# --package wgpu-core \
0 commit comments