Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-lang/rust
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4e616be
Choose a base ref
...
head repository: rust-lang/rust
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 63fd877
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Aug 10, 2025

  1. strip prefix of temporary file names when it exceeds filesystem name …

    …length limit
    
    When doing lto, rustc generates filenames that are concatenating many information.
    
    In the case of this testcase, it is concatenating crate name and rust file name, plus some hash, and the extension.
    In some other cases it will concatenate even more information reducing the maximum effective crate name to about 110 chars on linux filesystems where
    filename max length is 255
    
    This commit is ensuring that the temporary file names are limited in size, while still reasonabily ensuring the unicity (with hashing of the stripped part)
    tardyp committed Aug 10, 2025
    Configuration menu
    Copy the full SHA
    63fd877 View commit details
    Browse the repository at this point in the history
Loading