mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 07:21:04 +01:00
Fix building wgpu with --no-default-feautures on web (wasm32-unknown-unknown) (#6946)
* Fix wasm build without features * silence unused warnings if wgc & webgpu are disabled * add no-features check for web ci * add changelog entry
This commit is contained in:
1 parent
dcdb10348b
commit
e2d14c677a
4 files changed
+11
No files matched your search
@@ -254,6 +254,9 @@ jobs:
|
||||
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} --tests --features glsl,spirv
|
||||
cargo doc --target ${{ matrix.target }} ${{ matrix.extra-flags }} --no-deps --features glsl,spirv
|
||||
|
||||
# check with no features
|
||||
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} --no-default-features
|
||||
|
||||
# all features
|
||||
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} --tests --all-features
|
||||
cargo doc --target ${{ matrix.target }} ${{ matrix.extra-flags }} --no-deps --all-features
|
||||
|
||||
Reference in new issue
Block a user