@@ -32,14 +32,21 @@ use-compiled-tools = ["spirv-tools/use-compiled-tools"]
3232# Enable this feature to be able to experiment with other versions.
3333skip-toolchain-check = []
3434
35+ # HACK(eddyb) these are not real "build dependencies", but rather dependencies
36+ # of proc macros, which we want to enable extra features in (without having
37+ # a proc macro crate to do that through), for the same reasons as the list at
38+ # the start of `[dependencies]` (avoiding unnecessary rebuilds).
39+ [build-dependencies ]
40+ syn = { version = " 1" , features = [" extra-traits" , " full" ] }
3541
3642[dependencies ]
3743# HACK(eddyb) these only exist to unify features across dependency trees,
3844# in order to avoid multiple separate instances of `rustc_codegen_spirv`.
39- hashbrown = { version = " 0.11" , features = [ " default " ] }
45+ hashbrown = " 0.11"
4046libc = { version = " 0.2" , features = [" align" , " extra_traits" ] }
4147num-traits = { version = " 0.2" , features = [" libm" ] }
42- syn = { version = " 1" , features = [" visit" , " visit-mut" ] }
48+ once_cell = " 1"
49+ regex = { version = " 1" , features = [" perf" ] }
4350
4451# Normal dependencies.
4552ar = " 0.9.0"
@@ -50,7 +57,7 @@ rustc-demangle = "0.1.21"
5057sanitize-filename = " 0.4"
5158serde = { version = " 1.0" , features = [" derive" ] }
5259serde_json = " 1.0"
53- smallvec = " 1.6.1"
60+ smallvec = { version = " 1.6.1" , features = [ " union " ] }
5461spirv-tools = { version = " 0.8" , default-features = false }
5562rustc_codegen_spirv-types = { path = " ../rustc_codegen_spirv-types" , version = " 0.4.0-alpha.15" }
5663
0 commit comments