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: master
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: try-perf
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Aug 5, 2025

  1. Unrolled build for #144467

    Rollup merge of #144467 - hydro-project:users/mingwes/rustdoc-fix-cors, r=GuillaumeGomez
    
    rustdoc template font links only emit `crossorigin` when needed
    
    The `crossorigin` attribute may cause issues when the href is not actually cross-origin. Specifically, the tag causes the browser to send a preflight OPTIONS request to the server even if it is same-origin. Some temperamental servers may reject all CORS preflight requests even if they're actually same-origin, which causes a CORS error and prevents the fonts from loading, even later on.
    
    This commit fixes that problem by not emitting `crossorigin` if the url appears to be relative to the same origin.
    rust-timer authored Aug 5, 2025
    Configuration menu
    Copy the full SHA
    3696338 View commit details
    Browse the repository at this point in the history
Loading