naga: Fix build with only arbitrary feature (used for fuzzing) (#10637)

This commit is contained in:
Ilyas Mallah authored and GitHub committed 2026-10-17 00:12:27 +00:00
1 parent a4b0f2257a
commit 304a72dca8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -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) },
}
}