Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reexport wasmtime::hash_{map,set} from hashbrown internally #9328

Merged
merged 1 commit into from
Sep 30, 2024

Commits on Sep 28, 2024

  1. Reexport wasmtime::hash_{map,set} from hashbrown internally

    Some modules were using `std::collections::{HashMap, HashSet}` when they knew
    that they were only compiled when the `std` feature was enabled. But we need to
    use `hashbrown` in certain other places (Cranelift's e-graphs, pooling
    allocator's index allocator, etc.), so we should simply use `hashbrown`
    everywhere. This should reduce binary size some small amount, but also means
    that we never have to ask ourselves "which hash map should I import?" when
    adding a new hash map import: always `use crate::hash_map::HashMap` et al.
    fitzgen committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    c0fec02 View commit details
    Browse the repository at this point in the history