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

Closed
wants to merge 22 commits into from
Closed

Commits on Mar 4, 2022

  1. Document new recommended use of method

    Jeff committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    c956fe5 View commit details
    Browse the repository at this point in the history
  2. Make use statement visible

    Jeff committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    5f34c04 View commit details
    Browse the repository at this point in the history
  3. Add suggested changes to the docs

    Jeff committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    b363f13 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. Statically compile libstdc++ everywhere if asked

    PR rust-lang#93918 made it so that `-static-libstdc++` was only set in one place,
    and was only set during linking, but accidentally also made it so that
    it is no longer passed when building LLD or sanitizers, only when
    building LLVM itself. This moves the logic for setting
    `-static-libstdc++` in the linker flags back to `configure_cmake` so
    that it takes effect for all CMake invocations in `native.rs`.
    
    As a side-effect, this also causes libstdc++ to be statically compiled
    into sanitizers and LLD if `llvm-tools-enabled` is set but
    `llvm-static-stdcpp` is not, even though previously it was only linked
    statically if `llvm-static-stdcpp` was set explicitly. But that seems
    more like the expected behavior anyway.
    Jon Gjengset committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    b328688 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a5216cf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fbd9c28 View commit details
    Browse the repository at this point in the history
  4. Improve rustdoc book

    Urgau committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    4e067e8 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. Configuration menu
    Copy the full SHA
    5226395 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a481ff View commit details
    Browse the repository at this point in the history
  3. Remove outdated comment.

    m-ou-se committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    1c06eb7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b97d875 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e346920 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    109cdc7 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. Configuration menu
    Copy the full SHA
    9d857d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    42624ba View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#93604 - tmandry:libunwind-fuchsia-default, …

    …r=Mark-Simulacrum
    
    Use in-tree libunwind by default on Fuchsia
    
    Fuchsia doesn't ship libunwind in its SDK, so we must provide it statically.
    m-ou-se authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    321e159 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#94440 - compiler-errors:issue-94282, r=lcnr

    Better error for normalization errors from parent crates that use `#![feature(generic_const_exprs)]`
    
    This PR implements a somewhat rudimentary heuristic to suggest using `#![feature(generic_const_exprs)]` in a child crate when a function from a foreign crate (that may have used `#![feature(generic_const_exprs)]`) fails to normalize during codegen.
    
    cc: rust-lang#79018
    cc: rust-lang#94287
    m-ou-se authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    20bae16 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#94587 - JKAnderson409:issue-90107-fix, r=sc…

    …ottmcm
    
    Document new recommended use of `FromIterator::from_iter`
    
    rust-lang#90107
    Most of the added prose was paraphrased from the links provided in the issue. The suggested `VecDeque` example seemed to make the point well enough so I just used that.
    m-ou-se authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    3a712c3 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#94644 - m-ou-se:scoped-threads-drop-soundne…

    …ss, r=joshtriplett
    
    Fix soundness issue in scoped threads.
    
    This was discovered in rust-lang#94559 (comment)
    
    The `scope()` function returns when all threads are finished, but I accidentally considered a thread 'finished' before dropping their panic payload or ignored return value.
    
    So if a thread returned (or panics with) something that in its `Drop` implementation still uses borrowed stuff, it goes wrong.
    
    https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=2a1f19ac4676cdabe43e24e536ff9358
    m-ou-se authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    ca36078 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#94719 - jonhoo:enable-static-lld, r=Mark-Si…

    …mulacrum
    
    Statically compile libstdc++ everywhere if asked
    
    PR rust-lang#93918 made it so that `-static-libstdc++` was only set in one place,
    and was only set during linking, but accidentally also made it so that
    it is no longer passed when building LLD, only when building LLVM
    itself. This moves the logic for setting `-static-libstdc++` in the
    linker flags to `configure_cmake` so that it takes effect for all CMake
    invocations in `native.rs`.
    
    As a side-effect, this also causes libstdc++ to be statically compiled
    into sanitizers, whereas previously the `llvm-static-stdcpp` flag had no
    effect on sanitizers. It also makes it so that LLD will be compiled
    statically if `llvm-tools-enabled` is set, even though previously it was
    only linked statically if `llvm-static-stdcpp` was set explicitly. Both
    of these seem like they match expected behavior than what was there
    prior to rust-lang#93918.
    m-ou-se authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    62e9d9a View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#94740 - GuillaumeGomez:unify-impl-blocks, r…

    …=notriddle
    
    Unify impl blocks by wrapping them into a div
    
    The blanket and "auto traits" sections are wrapped into a `div` with an ID. This PR fixes this incoherence by wrapping each impl section (the "deref impl" and the "inherent impl" sections were missing it). It'll also make some tests simpler to write.
    
    r? ````@notriddle````
    m-ou-se authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    06e4633 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#94753 - Urgau:rustdoc-book-improvements, r=…

    …GuillaumeGomez
    
    Improve rustdoc book
    
    This pull-request improves the `rustdoc` book by doing some (light) cleanup, by merging some stuff, by adding some missing stuff (like tracking issues links, for those who had one) and also by moving some chapter's into sub-chapter's to improve the flow of the book.
    
    ~~Note that I locally tested with `mdbook-lintcheck` that no links became accidentally broken.~~ (Not enough, ;-))
    
    r? ````@GuillaumeGomez````
    m-ou-se authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    8a2cf58 View commit details
    Browse the repository at this point in the history