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 4 pull requests #115110

Closed
wants to merge 8 commits into from

Commits on Aug 19, 2023

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

Commits on Aug 22, 2023

  1. Configuration menu
    Copy the full SHA
    265c1b5 View commit details
    Browse the repository at this point in the history
  2. Disable bootstrap rustc version check

    David Koloski committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    6aef5b3 View commit details
    Browse the repository at this point in the history
  3. ArchiveWrapper: handle LLVM API update

    In llvm/llvm-project@f740bcb a boolean
    parameter changed to an enum.
    
    r? @nikic
    @rustbot label: +llvm-main
    durin42 committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    3977ed1 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#115005 - compiler-errors:passes, r=cjgillot

    Don't do intra-pass validation on MIR shims
    
    Fixes rust-lang#114375
    
    In the test that was committed, we end up generating the drop shim for `struct Foo` that looks like:
    
    ```
    fn std::ptr::drop_in_place(_1: *mut Foo) -> () {
        let mut _0: ();
    
        bb0: {
            goto -> bb5;
        }
    
        bb1: {
            return;
        }
    
        bb2 (cleanup): {
            resume;
        }
    
        bb3: {
            goto -> bb1;
        }
    
        bb4 (cleanup): {
            drop(((*_1).0: foo::WrapperWithDrop<()>)) -> [return: bb2, unwind terminate];
        }
    
        bb5: {
            drop(((*_1).0: foo::WrapperWithDrop<()>)) -> [return: bb3, unwind: bb2];
        }
    }
    ```
    
    In `bb4` and `bb5`, we assert that `(*_1).0` has type `WrapperWithDrop<()>`. However, In a user-facing param env, the type is actually `WrapperWithDrop<Tait>`. These types are not equal in a user-facing param-env (and can't be made equal even if we use `DefiningAnchor::Bubble`, since it's a non-local TAIT).
    matthiaskrgr committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    fa38ec0 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#115096 - kadiwa4:no_memcpy_padding, r=cjgillot

    Add regression test for not `memcpy`ing padding bytes
    
    Closes rust-lang#56297
    
    See this comparison: https://rust.godbolt.org/z/jjzfonfcE
    
    I don't have any experience with codegen tests, I hope this is correct
    matthiaskrgr committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    f812a3f View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#115103 - djkoloski:disable_bootstrap_versio…

    …n_check, r=compiler-errors
    
    Disable bootstrap rustc version check
    
    Mitigates rust-lang#115065
    matthiaskrgr committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    1216cc4 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#115106 - durin42:llvm-18-symtabwritingmode,…

    … r=nikic
    
    ArchiveWrapper: handle LLVM API update
    
    In llvm/llvm-project@f740bcb a boolean parameter changed to an enum.
    
    r? `@nikic`
    `@rustbot` label: +llvm-main
    matthiaskrgr committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    b388fd8 View commit details
    Browse the repository at this point in the history