Skip to content

Seedable hashmap for testing? #128948

Open
Open
@workingjubilee

Description

@workingjubilee

This is inspired by the many regressions in #128899 that appeared to be "sorting" issues but actually seem to be hashmap issues. It would be nice if we had some way, even if only for unstable/nightly/internal/literally-just-crater usage, to tweak std's hashmap (or just the RNG for it?) so that we could determine if the hashmap's iteration order is the reason a crate's tests are failing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions