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 9 pull requests #77061

Closed
wants to merge 30 commits into from

Commits on Sep 18, 2020

  1. Don't download/sync llvm-project submodule if download-ci-llvm is set

    llvm-project takes > 1GB storage space and a long time to download.
    It's better to not download it unless needed.
    est31 committed Sep 18, 2020
    Configuration menu
    Copy the full SHA
    f05b47c View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2020

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

    lcnr committed Sep 19, 2020
    Configuration menu
    Copy the full SHA
    30cbc97 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2020

  1. Configuration menu
    Copy the full SHA
    eb3eb85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3498511 View commit details
    Browse the repository at this point in the history
  3. Add cfg(target_has_atomic_equal_alignment).

    This is needed for Atomic::from_mut.
    m-ou-se committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    db74e1f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9e3f94d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    af56ad7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    54fdf54 View commit details
    Browse the repository at this point in the history
  7. Revert "Revert adding Atomic::from_mut."

    This reverts commit 5ef1db3.
    m-ou-se committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    668225d View commit details
    Browse the repository at this point in the history
  8. Gate Atomic::from_mut on cfg(target_has_atomic_equal_alignment).

    Instead of a few hardcoded cfg(target_arch = ..) like before.
    m-ou-se committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    7a04ff6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5d6f1a1 View commit details
    Browse the repository at this point in the history
  10. Record tcx.def_span instead of item.span in crate metadata

    This was missed in PR rust-lang#75465. As a result, a few places have been using
    the full body span of functions, instead of just the header span.
    Aaron1011 committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    e734733 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    bcc1d56 View commit details
    Browse the repository at this point in the history
  12. bless tests

    lcnr committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    7a02ebd View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9a493ce View commit details
    Browse the repository at this point in the history
  14. review

    lcnr committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    2f893e4 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2020

  1. Configuration menu
    Copy the full SHA
    4a6bc77 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    731113b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0082d20 View commit details
    Browse the repository at this point in the history
  4. Add #[track_caller] to more panicking Cell functions

    Continuation of rust-lang#74526
    
    Adds the #[track_caller] attribute to almost all panicking Cell
    functions. The ones that borrow two Cells in their function
    body are spared, because the panic location helps pinpoint
    which of the two borrows failed. You'd need to have
    full debuginfo and backtraces enabled together with column
    info in order to be able to discern the cases.
    Column info is only available on non-Windows platforms.
    est31 committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    05c3a2b View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#76864 - est31:downloaded_llvm_no_clone_sour…

    …ces, r=Mark-Simulacrum
    
    Don't download/sync llvm-project submodule if download-ci-llvm is set
    
    llvm-project takes > 1GB storage space and a long time to download.
    It's better to not download it unless needed.
    Dylan-DPC committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    3ee08ff View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#76898 - Aaron1011:fix/item-def-span, r=oli-obk

    Record `tcx.def_span` instead of `item.span` in crate metadata
    
    This was missed in PR rust-lang#75465. As a result, a few places have been using
    the full body span of functions, instead of just the header span.
    Dylan-DPC committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    0b0a98a View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#76899 - wesleywiser:experimental_unsound_mi…

    …r_opts_flag, r=oli-obk
    
    [mir-opt] Introduce a new flag to enable experimental/unsound mir opts
    
    This implements part of rust-lang/compiler-team#319. The exact name of this flag was not decided as part of that MCP and some people expressed that it should include "unsound" in some way.
    
    I've chosen to use `enable-experimental-unsound-mir-opts` as the name. While long, I don't think that matters too much as really it will only be used by some mir-opt tests. If you object or have a better name, please leave a comment!
    
    r? @oli-obk
    cc @rust-lang/wg-mir-opt @RalfJung
    Dylan-DPC committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    aa2dcb3 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#76939 - lcnr:const-evaluatable-cont, r=oli-obk

    emit errors during AbstractConst building
    
    There changes are currently still untested, so I don't expect this to pass CI 😆
    
    It seems to me like this is the direction we want to go in, though we didn't have too much of a discussion about this.
    
    r? @oli-obk
    Dylan-DPC committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    1f8002d View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#76965 - fusion-engineering-forks:fix-atomic…

    …-from-mut, r=Amanieu
    
    Add cfg(target_has_atomic_equal_alignment) and use it for Atomic::from_mut.
    
    Fixes some platform-specific problems with rust-lang#74532 by using the actual alignment of the types instead of hardcoding a few `target_arch`s.
    
    r? @RalfJung
    Dylan-DPC committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    ca93c3e View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#77044 - pickfire:patch-4, r=jyn514

    Liballoc bench vec use mem take not replace
    Dylan-DPC committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    a66e104 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#77047 - RalfJung:miri-dealloc, r=oli-obk

    Miri: more informative deallocation error messages
    
    Make sure we show the affected AllocId.
    
    r? @oli-obk
    Dylan-DPC committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    f60a8cf View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#77050 - follower:patch-1, r=oli-obk

    Typo fix: "satsify" -> "satisfy"
    Dylan-DPC committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    97ef2b5 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#77055 - est31:more_track_caller, r=Mark-Sim…

    …ulacrum
    
    Add #[track_caller] to more panicking Cell functions
    
    Continuation of rust-lang#74526
    
    Adds the #[track_caller] attribute to almost all panicking Cell
    functions. The ones that borrow two Cells in their function
    body are spared, because the panic location helps pinpoint
    which of the two borrows failed. You'd need to have
    full debuginfo and backtraces enabled together with column
    info in order to be able to discern the cases.
    Column info in debuginfo is only available on non-Windows platforms.
    Dylan-DPC committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    ab76650 View commit details
    Browse the repository at this point in the history