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 #112198

Merged
merged 19 commits into from
Jun 2, 2023
Merged

Commits on May 31, 2023

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

Commits on Jun 1, 2023

  1. Configuration menu
    Copy the full SHA
    bbf4127 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ab10ba View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9fcb52 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    847d504 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    97bacba View commit details
    Browse the repository at this point in the history
  6. Migrate to Askama

    Implemented wrap_item_write
    
    Update wrap_item
    sladyn98 committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    780719b View commit details
    Browse the repository at this point in the history
  7. CFI: Fix cfi with async: transform_ty: unexpected GeneratorWitness(Binde

    Fixes rust-lang#111184 by encoding ty::Generator parent substs only.
    rcvalle committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    76ff5ec View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. Configuration menu
    Copy the full SHA
    c625880 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    731601c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d722f27 View commit details
    Browse the repository at this point in the history
  4. Fix broken link

    Signed-off-by: cui fliter <imcusg@gmail.com>
    cuishuang committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    bbfadf0 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#111670 - compiler-errors:const-param-ty, r=…

    …BoxyUwU
    
    Require that const param tys implement `ConstParamTy`
    
    1. Require that const param tys implement `ConstParamTy` instead of using `search_for_adt_const_param_violation`
    2. Add `StructuralPartialEq` as a supertrait for `ConstParamTy`, since we need to make sure that we derive *both* `PartialEq` and `Eq`
    3. Implement `ConstParamTy` for tuples up to 12 (or whatever the default for tuples is)
    4. Add some custom diagnostics to `ConstParamTy` errors, to avoid regressions from (1.). It's still not as great as it could be -- will point out inline in comments.
    
    r? `@BoxyUwU`
    compiler-errors committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    24404e6 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#111914 - rcvalle:rust-cfi-fix-111184, r=com…

    …piler-errors
    
    CFI: Fix cfi with async: transform_ty: unexpected GeneratorWitness(Bi…
    
    Fixes rust-lang#111184 by encoding ty::Generator parent substs only.
    compiler-errors committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    ceec225 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#112030 - sladyn98:item-trait-alias, r=Guill…

    …aumeGomez
    
    Migrate `item_trait_alias` to Askama
    
    This PR migrates `item_trait_alias` to Askama
    
    Refers rust-lang#108868
    compiler-errors committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    8ceb283 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#112150 - taiki-e:apple-atomic-128, r=Amanieu

    Support 128-bit atomics on all x86_64 Apple targets
    
    On x86_64, we currently set `max_atomic_width` to 128 only on macOS.
    
    https://github.com/rust-lang/rust/blob/ad8304a0d5280de30856b39c19df7b306957e878/compiler/rustc_target/src/spec/x86_64_apple_darwin.rs#L8
    
    However, other x86_64 Apple targets (iOS, tvOS, and watchOS) are also core2+ and support cmpxchg16b.
    
    https://github.com/rust-lang/rust/blob/ad8304a0d5280de30856b39c19df7b306957e878/compiler/rustc_target/src/spec/apple_base.rs#L71-L76
    
    ```console
    # Script to get targets that support cmpxchg16b by default:
    $ (for target in $(rustc --print target-list); do [[ $target == "x86_64"* ]] && rustc --print cfg --target "$target" | grep -q cmpxchg16b && echo "$target"; done)
    x86_64-apple-darwin
    x86_64-apple-ios
    x86_64-apple-ios-macabi
    x86_64-apple-tvos
    x86_64-apple-watchos-sim
    x86_64h-apple-darwin
    ```
    
    r? `@Amanieu`
    compiler-errors committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    fc55757 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#112174 - cuishuang:master, r=jyn514

    Fix broken link
    
    The previous link is no longer accessible.
    
    Use the latest link.
    compiler-errors committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    7198234 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#112190 - nnethercote:improve-comments-TyCtx…

    …t-GlobalCtxt, r=compiler-errors
    
    Improve comments on `TyCtxt` and `GlobalCtxt`.
    
    By adding some non-obvious information that took me a little while to figure out.
    
    r? `@compiler-errors`
    compiler-errors committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    2286046 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#112193 - clubby789:offset-of-tuple-sized, r…

    …=est31
    
    Check tuple elements are `Sized` in `offset_of`
    
    Fixes rust-lang#112186
    compiler-errors committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    ebb7f64 View commit details
    Browse the repository at this point in the history