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

Closed
wants to merge 13 commits into from

Commits on May 5, 2023

  1. Configuration menu
    Copy the full SHA
    23e443a View commit details
    Browse the repository at this point in the history
  2. Stabilize const_ptr_read

    bors authored and usbalbin committed May 5, 2023
    Configuration menu
    Copy the full SHA
    81c2459 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2023

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

Commits on May 8, 2023

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

    c410-f3r committed May 8, 2023
    Configuration menu
    Copy the full SHA
    0285611 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2023

  1. Configuration menu
    Copy the full SHA
    d5843dd View commit details
    Browse the repository at this point in the history
  2. vec-shrink-panik: update expectations to work on LLVM 17

    For some reason, the called function is `cleanup` on LLVM 17 instead of
    `filter`.
    
    r? @Amanieu
    durin42 committed May 9, 2023
    Configuration menu
    Copy the full SHA
    9ee9165 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#97320 - usbalbin:stabilize_const_ptr_read, …

    …r=m-ou-se
    
    Stabilize const_ptr_read
    
    Stabilizes const_ptr_read, with tracking issue rust-lang#80377
    matthiaskrgr authored May 9, 2023
    Configuration menu
    Copy the full SHA
    8488f24 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#110770 - m-ou-se:fmt-temp-lifetime, r=oli-obk

    Limit lifetime of format_args!() with inlined args.
    
    Fixes rust-lang#110769
    matthiaskrgr authored May 9, 2023
    Configuration menu
    Copy the full SHA
    1eb209a View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#111021 - c410-f3r:dqewdas, r=petrochenkov

    Move some tests
    
    r? `@petrochenkov`
    matthiaskrgr authored May 9, 2023
    Configuration menu
    Copy the full SHA
    5fbb69f View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#111242 - wangkirin:support_rpath_independen…

    …t_config, r=albertlarsan68
    
    support set `rpath` option  for each target independently
    
    Currently  the `rpath` option is a global config and it's effect on all targets.
    But sometimes when developers edit the rustc code and try to release rust toolchains themselves, they may not want to add `rpath` in all targets  to avoid dynamically linked shared object library privilege escalation attack.
    This PR supports set `rpath` option  for each target independently .
    Common developers are not aware of the existence of this configuration  option and do not affect the existing development process. This configuration option takes effect only after developers explicitly sets .
    
    r? `@albertlarsan68`
    matthiaskrgr authored May 9, 2023
    Configuration menu
    Copy the full SHA
    7d6dd78 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#111282 - scottmcm:remove-unneeded-assumes, …

    …r=workingjubilee
    
    Remove some `assume`s from slice iterators that don't do anything
    
    Because the start pointer is iterators is already a `NonNull`, we emit the appropriate `!nonnull` metadata when loading the pointer to tell LLVM that it's non-null.
    
    Probably the best way to see that it's the metadata that's important (and not the `assume`) is to observe that LLVM actually *removes* the `assume` from the optimized IR: <https://rust.godbolt.org/z/KhE6G963n>.
    
    (I also checked that, yes, the if-not-ZST `assume` on `end` is still doing something: it's how there's a `!nonnull` metadata on its load, even though it's an ordinary raw pointer.  The codegen test added in this PR fails if the other `assume` is  removed.)
    matthiaskrgr authored May 9, 2023
    Configuration menu
    Copy the full SHA
    469b3a4 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#111385 - durin42:vec-panik-17, r=Amanieu

    vec-shrink-panik: update expectations to work on LLVM 17
    
    For some reason, the called function is `cleanup` on LLVM 17 instead of `filter`.
    
    r? `@Amanieu`
    matthiaskrgr authored May 9, 2023
    Configuration menu
    Copy the full SHA
    2e54ec5 View commit details
    Browse the repository at this point in the history