Preallocate BUILTIN_ATTRIBUTES symbols and use a hash map instead of looping
This commit is contained in:
parent
fcf850f34a
commit
b82ab24bbf
9 changed files with 645 additions and 417 deletions
|
|
@ -14,8 +14,10 @@ bitflags = "1.0"
|
|||
serialize = { path = "../libserialize" }
|
||||
log = "0.4"
|
||||
scoped-tls = "1.0"
|
||||
lazy_static = "1.0.0"
|
||||
syntax_pos = { path = "../libsyntax_pos" }
|
||||
errors = { path = "../librustc_errors", package = "rustc_errors" }
|
||||
rustc_data_structures = { path = "../librustc_data_structures" }
|
||||
rustc_macros = { path = "../librustc_macros" }
|
||||
rustc_target = { path = "../librustc_target" }
|
||||
smallvec = { version = "0.6.7", features = ["union", "may_dangle"] }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue