diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-15 19:32:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-15 19:32:39 +0200 |
| commit | ef72a6a7111731049e840c129fc3db4838df5352 (patch) | |
| tree | 13c751c5f4e50f36688d181702032d81dcb7b9fe /compiler/rustc_parse/src | |
| parent | bc986c7290975e7990a3e1b93856a8af1e706b91 (diff) | |
| parent | 9028b5381b2867bcd4d9cd0ba95ff97607deaaf3 (diff) | |
| download | rust-ef72a6a7111731049e840c129fc3db4838df5352.tar.gz rust-ef72a6a7111731049e840c129fc3db4838df5352.zip | |
Rollup merge of #129124 - aDotInTheVoid:rdj-hashmap-3, r=GuillaumeGomez
rustdoc-json: Use FxHashMap from rustdoc_json_types Alternative to #110051 and #127456. This lets us avoid rehashing the json index after building it by using the same hashmap type in construction and in rustdoc_json_types. The above PR's tried to do this by having rustdoc_json_types get the same hashmap that rustdoc has via rustc_data_structures. However, this can be made simpler if we change rustdoc instead. For the rustdoc-type republish on crates.io, It will filter out the `pub use`, and not change source at all. https://github.com/aDotInTheVoid/rustdoc-types/pull/30. That code [already replaces the hashmap](https://github.com/aDotInTheVoid/rustdoc-types/blob/8d6528669ec64c2af43d1c79a228b7711cefdad7/update.sh#L11) to use the one in `std::collections` (instead of `FxHashMap`) try-job: dist-arm-linux r? ``@GuillaumeGomez``
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions
