Inconsistent test output in `aarch64` when using `-Zwrite-long-types-to-disk=yes`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
Identified at https://github.com/rust-lang/rust/pull/144039/files#diff-50874c76f2d7b03cf2f8006f8e0d42851df89aec14ad3ee6000712c5f1650e97
When modifying tests/ui/confuse-field-and-method/issue-2392.rs to use -Zwrite-long-types-to-disk=yes, the output in aarch64 doesn't match the output in other platforms.
We should investigate why this is the case, as it indicates some issue with either the test runner or the type path shortening feature itself.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with tests/ui/confuse-field-and-method/issue-2392.rs and the referenced PR diff. Reproduce the test with -Zwrite-long-types-to-disk=yes on aarch64 and another platform, then compare the generated output. Done means identifying whether the discrepancy is in the test runner or type path shortening and documenting or fixing the resulting inconsistency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100