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 7 pull requests #118716

Closed
wants to merge 22 commits into from

Commits on Dec 4, 2023

  1. [DO NOT MERGE] update target feature following LLVM API change

    LLVM commit llvm/llvm-project@e817966
    renamed the `unaligned-scalar-mem` target feature to `fast-unaligned-access`.
    krasimirgg committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    0899efe View commit details
    Browse the repository at this point in the history
  2. [DO NOT MERGE] update target feature following LLVM API change

    LLVM commit llvm/llvm-project@e817966
    renamed the `unaligned-scalar-mem` target feature to `fast-unaligned-access`.
    krasimirgg committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    43baf5d View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Configuration menu
    Copy the full SHA
    4ac3274 View commit details
    Browse the repository at this point in the history
  2. update llvm version

    krasimirgg committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    0104620 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5d3a294 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    281b65a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e16ebdb View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Update compiler/stable_mir/src/mir/body.rs

    Co-authored-by: Michael Goulet <michael@errs.io>
    celinval and compiler-errors authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    77d7e44 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4616b9f View commit details
    Browse the repository at this point in the history
  3. coverage: Merge refined spans in a separate final pass

    This makes `push_refined_span` trivial, which will let us inline it and benefit
    from partial borrows of `refined_spans`.
    Zalathar committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    ec0110b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9089d28 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9a43215 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c0be10c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cf1cecc View commit details
    Browse the repository at this point in the history
  8. targets: remove not-added {i386,i486}-unknown-linux-gnu

    These files were added to the repository but never wired up so they could
    be used - and that was a few years ago without anyone noticing - so let's
    remove these, they can be re-added if someone wants them.
    
    Signed-off-by: David Wood <david@davidtw.co>
    davidtwco committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    399cd6c View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#118610 - krasimirgg:llvm-18-dec, r=nikic

    update target feature following LLVM API change
    
    LLVM commit llvm/llvm-project@e817966 renamed* the `unaligned-scalar-mem` target feature to `fast-unaligned-access`.
    
    (*) technically the commit folded two previous features into one, but there are no references to the other one in rust.
    matthiaskrgr authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    78aedc7 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#118686 - compiler-errors:object-safety, r=lcnr

    Only check principal trait ref for object safety
    
    It should make things a bit faster, in case we end up registering a bunch of object safety preds.
    
    r? `@ghost`
    matthiaskrgr authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    309487a View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#118688 - celinval:smir-rvalue-ty, r=compile…

    …r-errors
    
    Add method to get type of an Rvalue in StableMIR
    
    Provide a method to StableMIR users to retrieve the type of an Rvalue operation. There were two possible implementation:
    
    1. Create the logic inside stable_mir to process the type according to the Rvalue semantics, which duplicates the logic of `rustc_middle::mir::Rvalue::ty()`.
    2. Implement the Rvalue translation from StableMIR back to internal representation, invoke the `rustc_middle::mir::Rvalue::ty()`, and translate the return value to StableMIR.
    
    I chose the first one for now since the duplication was fairly small, and the option 2 would require way more work to translate everything back to rustc internal representation. If we eventually add those translations, we could easily swap to the option 2.
    
    `@compiler-errors` / `@ouz-a` Please let me know if you have any strong opinion here.
    
    r? `@compiler-errors`
    matthiaskrgr authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    69f13c2 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#118695 - Zalathar:push-refined, r=davidtwco

    coverage: Merge refined spans in a separate final pass
    
    Pulling this merge step out of `push_refined_span` and into a separate pass lets us push directly to `refined_spans` instead of calling a helper method.
    
    Because the compiler can now see partial borrows of `refined_spans`, we can remove some extra code that was jumping through hoops to satisfy the borrow checker.
    
    ---
    
    `@rustbot` label +A-code-coverage
    matthiaskrgr authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    b64b2d5 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#118707 - GuillaumeGomez:ping-cg_gcc, r=antoyo

    Ping GuillaumeGomez for changes in rustc_codegen_gcc
    
    Since I work on it and also added its testsuite into rustc's CI, I'd like to know if there are changes.
    matthiaskrgr authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    2079ccb View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#118709 - oksbsb:fix-job-server, r=petrochenkov

    fix jobserver GLOBAL_CLIENT_CHECKED uninitialized before use
    
    override rust-lang#118589, resolve merge conflict
    
    `@petrochenkov` `@SparrowLii`
    
    Thanks!
    matthiaskrgr authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    e97a3fa View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#118712 - davidtwco:targets-remove-i386-i486…

    …, r=compiler-errors
    
    targets: remove not-added {i386,i486}-unknown-linux-gnu
    
    These files were added to the repository but never wired up so they could be used - and that was a few years ago without anyone noticing - so let's remove these, they can be re-added if someone wants them.
    
    cc rust-lang#80662
    r? `@pnkfelix` (familiar with the tier policy and Wesley is on vacation)
    matthiaskrgr authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    be7630e View commit details
    Browse the repository at this point in the history