1d81c67b7b
horizon-client's dev-dependency on naga added the hlsl-out feature for the gfx.rs test that translates every shader for DirectX 12. With resolver 2 a dev-dependency's features apply only to tests and examples, so Cargo kept two builds of naga, wgpu-hal, wgpu-core, wgpu, horizon-shaderpack and the horizon-client lib, and rebuilt them on the first example or test after a game build. Measured on the Mac mini (cargo build of the game, then one example): the example took 37.3 s and recompiled that whole stack before, 1.2 s and only its own crate after; the target dir is 1 GB smaller (4.9 to 3.9 GB). The game binary is the same size: nothing calls the HLSL writer, so the linker drops it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>