@@ -33,11 +33,11 @@ skip-toolchain-check = []
3333[dependencies ]
3434# HACK(eddyb) these only exist to unify features across dependency trees,
3535# in order to avoid multiple separate instances of `rustc_codegen_spirv`.
36- hashbrown = " 0.11"
37- libc = { version = " 0.2" , features = [" align" , " extra_traits" ] }
38- num-traits = { workspace = true , default-features = true }
39- once_cell = " 1"
36+ ahash = { version = " 0.8.11" , features = [" no-rng" ] }
37+ bytemuck = { version = " 1.20.0" , features = [" aarch64_simd" , " derive" ] }
38+ log = { version = " 0.4.22" , features = [" std" ] }
4039regex = { version = " 1" , features = [" perf" ] }
40+ rustix = { version = " 0.38.42" , features = [" all-apis" ] }
4141
4242# HACK(eddyb) deps of `rustc_codegen_ssa`, for `pqp_cg_ssa` (see `build.rs`),
4343# that cannot be handled with just `extern crate` pulling out of the sysroot.
@@ -52,7 +52,7 @@ rspirv = "0.12"
5252rustc_codegen_spirv-types.workspace = true
5353rustc-demangle = " 0.1.21"
5454sanitize-filename = " 0.4"
55- smallvec = { version = " 1.6.1" , features = [" union" ] }
55+ smallvec = { version = " 1.6.1" , features = [" const_generics " , " const_new " , " union" ] }
5656spirt = " 0.4.0"
5757spirv-tools.workspace = true
5858lazy_static = " 1.4.0"
@@ -66,6 +66,11 @@ pretty_assertions = "1.0"
6666# (see `build.rs`).
6767# tempfile = "3.4"
6868
69+ # HACK(eddyb) deps of `rustc_codegen_ssa`, for `pqp_cg_ssa` (see `build.rs`),
70+ # that cannot be handled with just `extern crate` pulling out of the sysroot.
71+ [target .'cfg(unix)' .dependencies ]
72+ libc = " 0.2.50"
73+
6974# Note that in order to use RA and have access to `rustc_*` crates, you also
7075# need to set `"rust-analyzer.rustcSource": "discover"` in e.g. VSCode.
7176[package .metadata .rust-analyzer ]
0 commit comments