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

Merged
merged 58 commits into from
Nov 11, 2022
Merged

Rollup of 8 pull requests #104293

merged 58 commits into from
Nov 11, 2022

Commits on Sep 24, 2022

  1. Implement the +whole-archive modifier for wasm-ld

    This implements the `Linker::{link_whole_staticlib,link_whole_rlib}`
    methods for the `WasmLd` linker used on wasm targets. Previously these
    methods were noops since I think historically `wasm-ld` did not have
    support for `--whole-archive` but nowadays it does, so the flags are
    passed through.
    alexcrichton committed Sep 24, 2022
    Configuration menu
    Copy the full SHA
    6630c14 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2022

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

Commits on Oct 25, 2022

  1. Configuration menu
    Copy the full SHA
    32a2f0d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2716449 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2022

  1. Configuration menu
    Copy the full SHA
    4f3a988 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39598e4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2a3a53b View commit details
    Browse the repository at this point in the history
  4. Auto merge of rust-lang#2635 - RalfJung:rustup-managed-miri, r=RalfJung

    explain how to go back to rustup-managed Miri
    
    Fixes rust-lang/miri#2633
    bors committed Oct 29, 2022
    Configuration menu
    Copy the full SHA
    18a23a5 View commit details
    Browse the repository at this point in the history
  5. Auto merge of rust-lang#2634 - RalfJung:miri-script, r=oli-obk

    ./miri updates: toolchain, rustc-push, rustc-pull
    
    This merges the `./rustup-toolchain` script into `./miri` as `./miri toolchain`, and adds two new commands for josh-based syncing.
    
    r? `@rust-lang/miri`
    bors committed Oct 29, 2022
    Configuration menu
    Copy the full SHA
    79a48ce View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1470e99 View commit details
    Browse the repository at this point in the history
  7. Auto merge of rust-lang#2636 - RalfJung:scalar-field-retag, r=oli-obk

    Stacked Borrows: make scalar field retagging the default
    
    I think it is time to finally close this soundness gap. Any objections? :)
    
    Unfortunately the latest released versions of hashbrown and scopeguard can fail under full field retagging. The fixes have landed in the git repos but have not been released yet. I don't know if scalar field retagging as enabled by this PR is sufficient to cause problems with these crates, but it seems likely that this would be the case -- e.g. if both `value` and `dropfn` are scalars, the entire scopeguard struct will be a `ScalarPair` and thus get field retagging.
    
    However, given that we actually generate LLVM `noalias` for these cases, it seems prudent to inform users of this risk. They can easily set `-Zmiri-field-retag=none` to opt-out of this change.
    
    Cc rust-lang/miri#2528
    bors committed Oct 29, 2022
    Configuration menu
    Copy the full SHA
    c162fd3 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2022

  1. Merge from rustc

    RalfJung committed Oct 30, 2022
    Configuration menu
    Copy the full SHA
    bfe23b9 View commit details
    Browse the repository at this point in the history
  2. rustup

    RalfJung committed Oct 30, 2022
    Configuration menu
    Copy the full SHA
    0b49a5d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    962bf63 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2022

  1. fix dupe word typos

    Rageking8 committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    41c368b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    224dff4 View commit details
    Browse the repository at this point in the history
  3. Auto merge of rust-lang#2640 - Rageking8:fix-dupe-word-typos, r=saethlin

    Fix dupe word typos
    bors committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    21669d2 View commit details
    Browse the repository at this point in the history
  4. followup for pr 2640

    Rageking8 committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    a1cd279 View commit details
    Browse the repository at this point in the history
  5. Auto merge of rust-lang#2642 - Rageking8:followup-for-pr-2640, r=Ralf…

    …Jung
    
    Followup for pr 2640
    
    r? `@RalfJung`
    bors committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    02c5ded View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2022

  1. fix ./miri bench

    RalfJung committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    9554907 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d9157e View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. Configuration menu
    Copy the full SHA
    fa1b720 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb6f7a6 View commit details
    Browse the repository at this point in the history
  3. Auto merge of rust-lang#2641 - DrMeepster:init_once_acquire, r=RalfJung

    InitOnce: synchronize with completion when already complete
    
    The completion of an InitOnce happens-before the threads waiting on it wake up. However, this is not the case for threads that call `InitOnceBeginInitialize` after the completion, leading to data races and outdated weak memory loads as observed in the CI for  rust-lang#2638. This PR fixes this.
    bors committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    4492c02 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2022

  1. Merge from rustc

    RalfJung committed Nov 5, 2022
    Configuration menu
    Copy the full SHA
    83239c2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7910caf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a1d94d4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a2f7e84 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2eb07a0 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2022

  1. Auto merge of rust-lang#2638 - DrMeepster:windows-condvars, r=RalfJung

    Implement condvars for Windows
    
    Adds 3 shims for Windows: `SleepConditionVariableSRW`, `WakeConditionVariable`, `WakeAllConditionVariable` to add support for condvars (which fixes rust-lang#2628).
    
    Salvaged from what was removed from rust-lang#2231
    bors committed Nov 6, 2022
    Configuration menu
    Copy the full SHA
    f60a2ae View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

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

Commits on Nov 8, 2022

  1. Configuration menu
    Copy the full SHA
    303653e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a45151e View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. lint auto pass

    Revert "lint auto pass"
    
    This reverts commit e58e4466384924c491a932d3f18ef50ffa5a5065.
    AndyJado committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    e636af7 View commit details
    Browse the repository at this point in the history
  2. remove old var_span_path_only

    doc comment
    AndyJado committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    a0cee0a View commit details
    Browse the repository at this point in the history
  3. var_subdiag refinement

    trim old
    AndyJado committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    abf259c View commit details
    Browse the repository at this point in the history
  4. struct error E0505

    AndyJado committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    057d8e5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    53e8b49 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2022

  1. Configuration menu
    Copy the full SHA
    5c25d30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce03d25 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d492b9b View commit details
    Browse the repository at this point in the history
  4. Require ~const qualifier on trait bounds in specializing impls if p…

    …resent in base impl.
    BGR360 committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    c0ae62e View commit details
    Browse the repository at this point in the history
  5. Apply PR feedback.

    BGR360 committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    fe53cac View commit details
    Browse the repository at this point in the history
  6. make Sized coinductive

    lcnr authored and compiler-errors committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    0f2e45b View commit details
    Browse the repository at this point in the history
  7. add some more tests

    lcnr authored and compiler-errors committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    8ec6c84 View commit details
    Browse the repository at this point in the history
  8. bless tests

    compiler-errors committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    43ad19b View commit details
    Browse the repository at this point in the history
  9. More nits

    compiler-errors committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    fea8d0e View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2022

  1. Oops, bless this test.

    BGR360 committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    94f67e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    05824cd View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#95292 - BGR360:const-trait-specialize, r=lcnr

    Allow specialized const trait impls.
    
    Fixes rust-lang#95186.
    Fixes rust-lang#95187.
    
    I've done my best to create a comprehensive test suite for the interaction between `min_specialization` and `const_trait_impls`. I wouldn't be surprised if there are interesting cases I haven't tested, please let me know.
    Manishearth committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    cd30ccf View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#100386 - compiler-errors:sized-coinductive-…

    …redux, r=lcnr
    
    Make `Sized` coinductive, again
    
    A revival of rust-lang#83647
    
    ---
    
    What exactly makes co-induction sound? Better question: are there any unsoundness risks from this? `Sized` can't be implemented by custom `impl` blocks, nor can it be conditionally implemented based on anything other than child fields being `Sized`, right?
    
    r? `@nikomatsakis` for whenever he gets back from vacation
    Manishearth committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    76ce198 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#102215 - alexcrichton:wasm-link-whole-archi…

    …ve, r=estebank
    
    Implement the `+whole-archive` modifier for `wasm-ld`
    
    This implements the `Linker::{link_whole_staticlib,link_whole_rlib}` methods for the `WasmLd` linker used on wasm targets. Previously these methods were noops since I think historically `wasm-ld` did not have support for `--whole-archive` but nowadays it does, so the flags are passed through.
    Manishearth committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    9553fea View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#103468 - chenyukang:yukang/fix-103435-extra…

    …-parentheses, r=estebank
    
    Fix unused lint and parser caring about spaces to won't produce invalid code
    
    Fixes rust-lang#103435
    Manishearth committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    fd5ff82 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#103531 - chenyukang:yukang/fix-103474, r=es…

    …tebank
    
    Suggest calling the instance method of the same name when method not found
    
    Fixes rust-lang#103474
    Manishearth committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    f00897e View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#103960 - AndyJado:var_path_only_diag, r=dav…

    …idtwco
    
    piece of diagnostic migrate
    
    r? `@davidtwco`
    Manishearth committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    a13809a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e8bc6e1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b74d042 View commit details
    Browse the repository at this point in the history