mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 15:50:05 +03:00
3e6abf0c35
Restore the local filter on mono item sorting In `CodegenUnit::items_in_deterministic_order`, there's a comment that only local HirIds should be taken into account, but #90408 removed the `as_local` call that sets others to None. Restoring that check fixes the s390x hangs seen in [RHBZ 2058803]. [RHBZ 2058803]: https://bugzilla.redhat.com/show_bug.cgi?id=2058803
For more information about how rustc works, see the rustc dev guide.