Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 10 pull requests #129008

Merged
merged 48 commits into from
Aug 12, 2024
Merged

Rollup of 10 pull requests #129008

merged 48 commits into from
Aug 12, 2024

Commits on Aug 5, 2024

  1. Configuration menu
    Copy the full SHA
    28e0907 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    697787a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a282e52 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    be71bd9 View commit details
    Browse the repository at this point in the history
  5. Update rustdoc tests

    GuillaumeGomez committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    e2da2fb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    59cb159 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Configuration menu
    Copy the full SHA
    27ca35a View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. Move verbose help parsing to main

    To remove a side effect (process exit) when parsing config.
    Kobzol committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    03ee7b5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5431a93 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2024

  1. Configuration menu
    Copy the full SHA
    f83b085 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43f3a21 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3a18c6b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a11922d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c36b21a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    334a097 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    290df4f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6760298 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    48413cf View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    446e03e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1b6cc24 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1481ab3 View commit details
    Browse the repository at this point in the history
  13. rustc_borrowck: fmt

    GrigorenkoPV committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    f43cdce View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    fbc2459 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    1373074 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    cbae581 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    2babab6 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d548636 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    007cc2c View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    fcdb374 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    f09a2b0 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    03b6c2f View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    141d9dc View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    f4cb0de View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. use rfs in rustdoc io rmake test

    lqd committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    dcd6170 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c361c92 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Fix bug in Parser::look_ahead.

    The special case was failing to handle invisible delimiters on one path.
    
    Fixes rust-lang#128895.
    nnethercote committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    46b4c5a View commit details
    Browse the repository at this point in the history
  2. std: do not overwrite style in get_backtrace_style

    If another thread calls `set_backtrace_style` while a `get_backtrace_style` is reading the environment variables, `get_backtrace_style` will overwrite the value. Use an atomic CAS to avoid this.
    joboet committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    8542cd6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    75743dc View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#128149 - RalfJung:nontemporal_store, r=jiey…

    …ouxu,Amanieu,Jubilee
    
    nontemporal_store: make sure that the intrinsic is truly just a hint
    
    The `!nontemporal` flag for stores in LLVM *sounds* like it is just a hint, but actually, it is not -- at least on x86, non-temporal stores need very special treatment by the programmer or else the Rust memory model breaks down. LLVM still treats these stores as-if they were normal stores for optimizations, which is [highly dubious](llvm/llvm-project#64521). Let's avoid all that dubiousness by making our own non-temporal stores be truly just a hint, which is possible on some targets (e.g. ARM). On all other targets, non-temporal stores become regular stores.
    
    ~~Blocked on rust-lang/stdarch#1541 propagating to the rustc repo, to make sure the `_mm_stream` intrinsics are unaffected by this change.~~
    
    Fixes rust-lang#114582
    Cc `@Amanieu` `@workingjubilee`
    GuillaumeGomez authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    095ca33 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#128394 - GuillaumeGomez:run-button, r=t-rus…

    …tdoc
    
    Unify run button display with "copy code" button and with mdbook buttons
    
    Follow-up of rust-lang#128339.
    
    It looks like this (coherency++, yeay!):
    
    ![Screenshot from 2024-07-30 15-16-31](https://github.com/user-attachments/assets/5e262e5b-f338-4085-94ca-e223033a43db)
    
    Can be tested [here](https://rustdoc.crud.net/imperio/run-button/foo/struct.Bar.html).
    
    r? `@notriddle`
    GuillaumeGomez authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    c6e3385 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#128537 - Jamesbarford:118980-const-vector, …

    …r=RalfJung,nikic
    
    const vector passed through to codegen
    
    This allows constant vectors using a repr(simd) type to be propagated
    through to the backend by reusing the functionality used to do a similar
    thing for the simd_shuffle intrinsic
    
    rust-lang#118209
    
    r​? RalfJung
    GuillaumeGomez authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    aea5087 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#128632 - joboet:dont_overwrite_style, r=Ama…

    …nieu
    
    std: do not overwrite style in `get_backtrace_style`
    
    If another thread calls `set_backtrace_style` while a `get_backtrace_style` is reading the environment variables, `get_backtrace_style` will overwrite the value. Use an atomic CAS to avoid this.
    GuillaumeGomez authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    aa6f240 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#128878 - Kobzol:refactor-flags, r=onur-ozkan

    Slightly refactor `Flags` in bootstrap
    
    The next step for rust-lang#126819 is to track commands executed inside `Config::parse`. This is quite challenging, because (tracked) command execution needs to access some state that is stored inside `Config`, which creates a sort of a chicken-and-egg problem.
    
    I would like to first untangle `Config::parse` a little bit, which is what this PR starts with.
    
    Tracking issue: rust-lang#126819
    
    r? `@onur-ozkan`
    GuillaumeGomez authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    355a232 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#128886 - GrigorenkoPV:untranslatable-diagno…

    …stic, r=nnethercote
    
    Get rid of some `#[allow(rustc::untranslatable_diagnostic)]`
    
    `@rustbot` label +A-translation
    cc rust-lang#100717
    GuillaumeGomez authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    ea74eff View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#128929 - saethlin:enable-codegen-units-test…

    …s, r=compiler-errors
    
    Fix codegen-units tests that were disabled 8 years ago
    
    I don't know if any of these tests still have value. They were disabled by rust-lang#33890, and we've survived without them for a while. But considering how small this test suite is, maybe it's worth having them.
    
    I also had to add some normalization to the codegen-units tests output. I think the fact that I had to add some underscores how poor our test coverage is.
    GuillaumeGomez authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    5b6379a View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#128937 - lqd:clean-rmake-tests, r=jieyouxu

    Fix warnings in rmake tests on `x86_64-unknown-linux-gnu`
    
    r? `@jieyouxu`
    
    This PR fixes some warnings I saw in rmake tests. I didn't deny more warnings in this PR until `@jieyouxu` gives their opinion, but maybe we should actually deny all warnings in `rmake.rs` files?
    
    I've also only looked at non-ignored tests on `x86_64-unknown-linux-gnu`, and denying warnings would require a try build for all targets 😓.
    GuillaumeGomez authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    bb35b88 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#128978 - compiler-errors:assert-matches, r=…

    …jieyouxu
    
    Use `assert_matches` around the compiler more
    
    It's a useful assertion, especially since it actually prints out the LHS.
    GuillaumeGomez authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    7c6dca9 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#128994 - nnethercote:fix-Parser-look_ahead-…

    …more, r=compiler-errors
    
    Fix bug in `Parser::look_ahead`.
    
    The special case was failing to handle invisible delimiters on one path.
    
    Fixes (but doesn't close until beta backported) rust-lang#128895.
    
    r? `@davidtwco`
    GuillaumeGomez authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    99a785d View commit details
    Browse the repository at this point in the history