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 5 pull requests #97873

Merged
merged 13 commits into from
Jun 8, 2022
Merged

Rollup of 5 pull requests #97873

merged 13 commits into from
Jun 8, 2022

Commits on Jun 5, 2022

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

Commits on Jun 7, 2022

  1. Specify DWARF alignment in bits, not bytes.

    In DWARF, alignment of types is specified in bits, as is made clear by the
    parameter name `AlignInBits`. However, `rustc` was incorrectly passing a byte
    alignment. This commit fixes that.
    
    This was noticed in upstream LLVM when I tried to check in a test consisting of
    LLVM IR generated from `rustc` and it triggered assertions [1].
    
    [1]: https://reviews.llvm.org/D126835
    pcwalton committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    fe533e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a22aad3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e6ed67 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b239611 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4ae69f8 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2022

  1. bye BorrowckMode

    lcnr committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    6ee7e35 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b58e63 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#97276 - JohnTitor:stabilize-const-intrinsic…

    …-copy, r=dtolnay
    
    Stabilize `const_intrinsic_copy`
    
    FCP has been completed: rust-lang#80697 (comment)
    Closes rust-lang#80697
    Dylan-DPC authored Jun 8, 2022
    Configuration menu
    Copy the full SHA
    f6b04ad View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#97763 - RalfJung:fallible-cast, r=lcnr

    Allow ptr_from_addr_cast to fail
    
    This is needed for rust-lang/miri#2133: I would like to have an option in Miri to error when a int2ptr cast is executed.
    Dylan-DPC authored Jun 8, 2022
    Configuration menu
    Copy the full SHA
    29c6f5f View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#97846 - pcwalton:align-bits, r=michaelwoeri…

    …ster
    
    Specify DWARF alignment in bits, not bytes.
    
    In DWARF, alignment of types is specified in bits, as is made clear by the
    parameter name `AlignInBits`. However, `rustc` was incorrectly passing a byte
    alignment. This commit fixes that.
    
    This was noticed in upstream LLVM when I tried to check in a test consisting of
    LLVM IR generated from `rustc` and it triggered assertions [1].
    
    [1]: https://reviews.llvm.org/D126835
    Dylan-DPC authored Jun 8, 2022
    Configuration menu
    Copy the full SHA
    82a1d79 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#97848 - spastorino:universal-lowering-refac…

    …tor-1, r=cjgillot
    
    Impl Traits lowering minor refactors
    
    This are unrelated changes on my RPIT refactor that may be better to merge before opening the main PR.
    
    r? `@cjgillot`
    
    cc `@nikomatsakis`
    Dylan-DPC authored Jun 8, 2022
    Configuration menu
    Copy the full SHA
    770583c View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#97865 - lcnr:bb-BorrowckMode, r=Dylan-DPC

    remove `BorrowckMode`
    
    dead code after rust-lang#95565
    Dylan-DPC authored Jun 8, 2022
    Configuration menu
    Copy the full SHA
    5d1a366 View commit details
    Browse the repository at this point in the history