Skip to content

Commit 211b7fc

Browse files
eddybLegNeato
authored andcommitted
rustc_codegen_spirv: update Cargo.toml phony deps for feature unification.
1 parent e62b14c commit 211b7fc

File tree

3 files changed

+22
-33
lines changed

3 files changed

+22
-33
lines changed

Cargo.lock

+8-25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/rustc_codegen_spirv/Cargo.toml

+10-5
Original file line numberDiff line numberDiff line change
@@ -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"] }
4039
regex = { 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"
5252
rustc_codegen_spirv-types.workspace = true
5353
rustc-demangle = "0.1.21"
5454
sanitize-filename = "0.4"
55-
smallvec = { version = "1.6.1", features = ["union"] }
55+
smallvec = { version = "1.6.1", features = ["const_generics", "const_new", "union"] }
5656
spirt = "0.4.0"
5757
spirv-tools.workspace = true
5858
lazy_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]

deny.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ skip = [
3030
# HACK(eddyb) two versions coexist for interop, for the time being.
3131
{ name = "raw-window-handle", version = "=0.5.2" },
3232
{ name = "raw-window-handle", version = "=0.6.2" },
33+
34+
# HACK(eddyb) the newer version hasn't propagated through the ecosystem yet.
35+
{ name = "hashbrown", version = "=0.14.5" },
36+
{ name = "hashbrown", version = "=0.15.2" },
3337
]
3438
# Similarly to `skip` allows you to skip certain crates during duplicate
3539
# detection. Unlike skip, it also includes the entire tree of transitive
@@ -48,9 +52,6 @@ skip-tree = [
4852
# FIXME(eddyb) outdated `winit` version uses older `windows-*`,
4953
# requires an upgrade to `winit 0.30` to resolve.
5054
{ name = "winit", version = "=0.29.15", depth = 4 },
51-
52-
# FIXME(eddyb) resolve everything hidden by this.
53-
{ name = "rustc_codegen_spirv", depth = 2 },
5455
]
5556

5657

0 commit comments

Comments
 (0)