mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 06:21:13 +01:00
naga: Fix build with only arbitrary feature (used for fuzzing) (#10637)
This commit is contained in:
1 parent
a4b0f2257a
commit
304a72dca8
2 files changed
+2
-2
No files matched your search
@@ -366,7 +366,7 @@ jobs:
|
||||
cargo --locked clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} -p wgpu-hal --no-default-features --features dx12
|
||||
|
||||
# Check important naga features in isolation
|
||||
for feature in glsl-in glsl-out hlsl-out msl-out spv-in spv-out wgsl-in wgsl-out; do
|
||||
for feature in arbitrary glsl-in glsl-out hlsl-out msl-out spv-in spv-out wgsl-in wgsl-out; do
|
||||
cargo --locked clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} -p naga --no-default-features --features $feature
|
||||
done
|
||||
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ fn main() {
|
||||
msl_out: { any(feature = "msl-out", all(target_vendor = "apple", feature = "msl-out-if-target-apple")) },
|
||||
spv_out: { feature = "spv-out" },
|
||||
wgsl_out: { feature = "wgsl-out" },
|
||||
std: { any(test, feature = "stderr", feature = "fs") },
|
||||
std: { any(test, feature = "stderr", feature = "fs", feature = "arbitrary") },
|
||||
no_std: { not(std) },
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user