File tree Expand file tree Collapse file tree
tests/difftests/tests/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ in with pkgs; stdenv.mkDerivation rec {
1111 # Allow cargo to download crates (even inside `nix-shell --pure`).
1212 SSL_CERT_FILE = "${ cacert } /etc/ssl/certs/ca-bundle.crt" ;
1313
14- nativeBuildInputs = [ rustup ] ;
14+ nativeBuildInputs = [ rustup spirv-tools ] ;
1515 buildInputs = [ cargo-nextest ] ;
1616
1717 # Runtime dependencies (for the example runners).
Original file line number Diff line number Diff line change @@ -13,6 +13,13 @@ use-compiled-tools = [
1313 " spirv-builder/use-compiled-tools"
1414]
1515
16+ [dependencies ]
17+ # DO NOT REMOVE
18+ # These dependencies are needed for feature unification on the cpu target ever since we added `rustc_codegen_spirv` ->
19+ # `naga` dependency, as naga transitively depends on `num-traits` with a different feature set than we do.
20+ spirv-std.workspace = true
21+ glam.workspace = true
22+
1623[target .'cfg(not(target_arch = "spirv"))' .dependencies ]
1724spirv-builder.workspace = true
1825difftest-types.workspace = true
You can’t perform that action at this time.
0 commit comments