mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 17:40:16 +00:00
This includes https://github.com/mozilla/thin-vec/pull/99 , which makes thin-vec respect size_hint when collecting. In particular, this causes collections of 1-3 items to not be grown to a capacity of 4. The compiler has a lot of `TinyVec`s in the 1-3 range, so this substantially helps memory, and seems neutral on instructions. For aws-sdk-ec2 full check, this saves 30.69 MiB max-rss (0.55% of peak RSS).
30 lines
852 B
TOML
30 lines
852 B
TOML
[package]
|
|
name = "rustc_parse"
|
|
version = "0.0.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
# tidy-alphabetical-start
|
|
bitflags = "2.4.1"
|
|
rustc-literal-escaper = "0.0.8"
|
|
rustc_ast = { path = "../rustc_ast" }
|
|
rustc_ast_pretty = { path = "../rustc_ast_pretty" }
|
|
rustc_data_structures = { path = "../rustc_data_structures" }
|
|
rustc_errors = { path = "../rustc_errors" }
|
|
rustc_feature = { path = "../rustc_feature" }
|
|
rustc_index = { path = "../rustc_index" }
|
|
rustc_lexer = { path = "../rustc_lexer" }
|
|
rustc_lint_defs = { path = "../rustc_lint_defs" }
|
|
rustc_macros = { path = "../rustc_macros" }
|
|
rustc_session = { path = "../rustc_session" }
|
|
rustc_span = { path = "../rustc_span" }
|
|
thin-vec = "0.2.21"
|
|
tracing = "0.1"
|
|
unicode-normalization = "0.1.25"
|
|
unicode-width = "0.2.2"
|
|
# tidy-alphabetical-end
|
|
|
|
[dev-dependencies]
|
|
# tidy-alphabetical-start
|
|
# tidy-alphabetical-end
|