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 8 pull requests #113105

Merged
merged 19 commits into from
Jun 28, 2023
Merged

Rollup of 8 pull requests #113105

merged 19 commits into from
Jun 28, 2023

Commits on Jun 2, 2023

  1. Add trustzone and virtualization target features for aarch32.

    These are LLVM target features which allow the `smc` and `hvc`
    instructions respectively to be used in inline assembly.
    qwandor committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    7269972 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2023

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

Commits on Jun 20, 2023

  1. Configuration menu
    Copy the full SHA
    a56c829 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04f658f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    767c4b9 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

  1. Configuration menu
    Copy the full SHA
    c462291 View commit details
    Browse the repository at this point in the history
  2. Bless tests

    nbdd0121 committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    19ce326 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. Simplify some conditions

    WaffleLapkin committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    ef05533 View commit details
    Browse the repository at this point in the history
  2. Add passing & failing test for bultin dyn trait generation

    Anthony Kalaitzis committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    09f0548 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cef812b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6f3f878 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#112207 - qwandor:virt_feature, r=davidtwco

    Add trustzone and virtualization target features for aarch32.
    
    These are LLVM target features which allow the `smc` and `hvc` instructions respectively to be used in inline assembly.
    matthiaskrgr committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    1880e83 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#112454 - ferrocene:pa-compiletest-dynamic-l…

    …inking, r=davidtwco
    
    Make compiletest aware of targets without dynamic linking
    
    Some parts of the compiletest internals and some tests require dynamic linking to work, which is not supported by all targets. Before this PR, this was handled by if branches matching on the target name.
    
    This PR loads whether a target supports dynamic linking or not from the target spec, and adds a `// needs-dynamic-linking` attribute for tests that require it. Note that I was not able to replace all the old conditions based on the target name, as some targets have `dynamic_linking: true` in their spec but pretend they don't have it in compiletest.
    
    Also, to get this to work I had to *partially* revert rust-lang#111472 (cc `@djkoloski` `@tmandry` `@bjorn3).` On one hand, only the target spec contains whether a target supports dynamic linking, but on the other hand a subset of the fields can be overridden through `-C` flags (as far as I'm aware only `-C panic=$strategy`). The solution I came up with is to take the target spec as the base, and then override the panic strategy based on `--print=cfg`. Hopefully that should not break y'all again.
    matthiaskrgr committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    353dd71 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#112628 - gootorov:box_alloc_partialeq, r=jo…

    …shtriplett
    
    Allow comparing `Box`es with different allocators
    
    Currently, comparing `Box`es over different allocators is not allowed:
    ```Rust
    error[E0308]: mismatched types
      --> library/alloc/tests/boxed.rs:22:20
       |
    22 |     assert_eq!(b1, b2);
       |                    ^^ expected `Box<{integer}, ConstAllocator>`, found `Box<{integer}, AnotherAllocator>`
       |
       = note: expected struct `Box<{integer}, ConstAllocator>`
                  found struct `Box<{integer}, AnotherAllocator>`
    
    For more information about this error, try `rustc --explain E0308`.
    error: could not compile `alloc` (test "collectionstests") due to previous error
    ```
    This PR lifts this limitation
    matthiaskrgr committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    448d2a8 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#112692 - jieyouxu:better-err-msg-for-unstab…

    …le-options, r=davidtwco
    
    Provide more context for `rustc +nightly -Zunstable-options` on stable
    
    <img width="724" alt="Screenshot 2023-06-16 123456" src="https://github.com/rust-lang/rust/assets/39484203/1933e172-cb9f-4e51-9540-ade803a88360">
    
    Closes rust-lang#110090.
    matthiaskrgr committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    b6144cd View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#112972 - nbdd0121:mir, r=davidtwco

    Make `UnwindAction::Continue` explicit in MIR dump
    
    Makes it easier to spot unwinding related issues in MIR by making `UnwindAction::Continue` explicit, just like all other `UnwindAction`s.
    matthiaskrgr committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    9ec676d View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#113020 - AnthonyKalaitzis:add-tests-impl-vi…

    …a-obj-unless-denied, r=compiler-errors
    
    Add tests impl via obj unless denied
    
    Fixes rust-lang#112737
    
    Add simple tests to check feature change in rust-lang#112320 is performing as expected.
    
    Note:
    
    - Unsure about filenames, locations & function signature names (tried to make them something sensible)
    matthiaskrgr committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    db11b77 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#113084 - WaffleLapkin:less_map_or, r=Nilstrieb

    Simplify some conditions
    
    r? `@Nilstrieb`
    
    Some things taken out of my `is_none_or` pr.
    matthiaskrgr committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    d505582 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#113103 - cjgillot:normalize-inhabited, r=co…

    …mpiler-errors
    
    Normalize types when applying uninhabited predicate.
    
    Fixes rust-lang#112997
    matthiaskrgr committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    4b1d068 View commit details
    Browse the repository at this point in the history