@@ -32,14 +32,21 @@ use-compiled-tools = ["spirv-tools/use-compiled-tools"]
32
32
# Enable this feature to be able to experiment with other versions.
33
33
skip-toolchain-check = []
34
34
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" ] }
35
41
36
42
[dependencies ]
37
43
# HACK(eddyb) these only exist to unify features across dependency trees,
38
44
# in order to avoid multiple separate instances of `rustc_codegen_spirv`.
39
- hashbrown = { version = " 0.11" , features = [ " default " ] }
45
+ hashbrown = " 0.11"
40
46
libc = { version = " 0.2" , features = [" align" , " extra_traits" ] }
41
47
num-traits = { version = " 0.2" , features = [" libm" ] }
42
- syn = { version = " 1" , features = [" visit" , " visit-mut" ] }
48
+ once_cell = " 1"
49
+ regex = { version = " 1" , features = [" perf" ] }
43
50
44
51
# Normal dependencies.
45
52
ar = " 0.9.0"
@@ -50,7 +57,7 @@ rustc-demangle = "0.1.21"
50
57
sanitize-filename = " 0.4"
51
58
serde = { version = " 1.0" , features = [" derive" ] }
52
59
serde_json = " 1.0"
53
- smallvec = " 1.6.1"
60
+ smallvec = { version = " 1.6.1" , features = [ " union " ] }
54
61
spirv-tools = { version = " 0.8" , default-features = false }
55
62
rustc_codegen_spirv-types = { path = " ../rustc_codegen_spirv-types" , version = " 0.4.0-alpha.15" }
56
63
0 commit comments