@@ -33,11 +33,11 @@ skip-toolchain-check = []
33
33
[dependencies ]
34
34
# HACK(eddyb) these only exist to unify features across dependency trees,
35
35
# 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" ] }
40
39
regex = { version = " 1" , features = [" perf" ] }
40
+ rustix = { version = " 0.38.42" , features = [" all-apis" ] }
41
41
42
42
# HACK(eddyb) deps of `rustc_codegen_ssa`, for `pqp_cg_ssa` (see `build.rs`),
43
43
# that cannot be handled with just `extern crate` pulling out of the sysroot.
@@ -52,7 +52,7 @@ rspirv = "0.12"
52
52
rustc_codegen_spirv-types.workspace = true
53
53
rustc-demangle = " 0.1.21"
54
54
sanitize-filename = " 0.4"
55
- smallvec = { version = " 1.6.1" , features = [" union" ] }
55
+ smallvec = { version = " 1.6.1" , features = [" const_generics " , " const_new " , " union" ] }
56
56
spirt = " 0.4.0"
57
57
spirv-tools.workspace = true
58
58
lazy_static = " 1.4.0"
@@ -66,6 +66,11 @@ pretty_assertions = "1.0"
66
66
# (see `build.rs`).
67
67
# tempfile = "3.4"
68
68
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
+
69
74
# Note that in order to use RA and have access to `rustc_*` crates, you also
70
75
# need to set `"rust-analyzer.rustcSource": "discover"` in e.g. VSCode.
71
76
[package .metadata .rust-analyzer ]
0 commit comments