diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c29c5d22d..cf0406628 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/naga/build.rs b/naga/build.rs index 30af3c964..3cc267de4 100644 --- a/naga/build.rs +++ b/naga/build.rs @@ -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) }, } }