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 6 pull requests #118723

Merged
merged 15 commits into from
Dec 8, 2023
Merged

Rollup of 6 pull requests #118723

merged 15 commits into from
Dec 8, 2023

Commits on Nov 15, 2023

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

Commits on Dec 6, 2023

  1. Configuration menu
    Copy the full SHA
    5d3a294 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    281b65a View commit details
    Browse the repository at this point in the history
  3. 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. Configuration menu
    Copy the full SHA
    c0be10c View commit details
    Browse the repository at this point in the history
  4. 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
  5. CFI: Add char to CFI integer normalization

    Adds char to CFI integer normalization to conform to rust-lang#118032 for
    cross-language CFI support.
    rcvalle committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    97032d6 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#116420 - bvanjoi:fix-116203, r=Nilstrieb

    discard invalid spans in external blocks
    
    Fixes rust-lang#116203
    
    This PR has discarded the invalid `const_span`, thereby making the format more neat.
    
    r? ``@Nilstrieb``
    matthiaskrgr authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    71a8ca0 View commit details
    Browse the repository at this point in the history
  7. 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
    b204303 View commit details
    Browse the repository at this point in the history
  8. 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
    20ed805 View commit details
    Browse the repository at this point in the history
  9. 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
    861cb32 View commit details
    Browse the repository at this point in the history
  10. 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
    0be2196 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#118719 - rcvalle:rust-cfi-normalize-integer…

    …s-118032, r=compiler-errors
    
    CFI: Add char to CFI integer normalization
    
    Adds char to CFI integer normalization to conform to rust-lang#118032 for cross-language CFI support.
    matthiaskrgr authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    71812d7 View commit details
    Browse the repository at this point in the history