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

Merged
merged 15 commits into from
Sep 21, 2022
Merged

Rollup of 7 pull requests #102097

merged 15 commits into from
Sep 21, 2022

Commits on Aug 26, 2022

  1. alloc: add unstable cfg features no_rc and no_sync

    In Rust for Linux we are using these to make `alloc` a bit
    more modular.
    
    A `run-make-fulldeps` test is added for each of them, so that
    enabling each of them independently is kept in a compilable state.
    
    Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
    ojeda committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    614c2e4 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2022

  1. Add another example for uN::carrying_mul

    The prose talked about doing this, so might as well add a simple code example of it too.
    scottmcm committed Sep 18, 2022
    Configuration menu
    Copy the full SHA
    690aaef View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2022

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

Commits on Sep 20, 2022

  1. Configuration menu
    Copy the full SHA
    7373788 View commit details
    Browse the repository at this point in the history
  2. Clarify Path::extension() semantics in docs abstract

    State up-front and center what shape the returned extension will have, without
    making the user read through the description and examples.
    
    Rationale: Various frameworks and libraries for different platforms have their
    different conventions as to whether an "extension" is ".ext" or just "ext" and
    anyone that's had to deal with this ambiguity in the past is always double- or
    triple-checking to make sure the function call returns an extension that matches
    the expected semantics. Offer the answer to this important question right off
    the bat instead of making them dig to find it.
    mqudsi committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    c291d2a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    83e6128 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b7dc934 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2022

  1. Overhaul -Zmeta-stats output.

    It's now much more like the `-Zhir-stats` output.
    - Each line is preceded with `meta-stats`, which makes the provenance
      clearer and allows filtering of the output.
    - Sections are now sorted in reverse order of size.
    - Column headings avoid the need to repeat the word "bytes" on every line.
    - Long numbers now have `_` separators for easier reading.
    - Consistent use of '-' within section labels, rather than a mix of '-',
      '_', and ' '.
    
    The code itself is shorter and easier to read thanks to:
    - the `stat` macro, which encapsulates each section's encoding, avoids
      some boilerplate, and removes the need for some low-value comments;
    - the `stats` vector, which replaces dozens of local variables.
    nnethercote committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    a7b35b5 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#89891 - ojeda:modular-alloc, r=Mark-Simulacrum

    `alloc`: add unstable cfg features `no_rc` and `no_sync`
    
    In Rust for Linux we are using these to make `alloc` a bit more modular.
    
    See rust-lang#86048 and rust-lang#84266 for similar requests.
    
    Of course, the particular names are not important.
    Dylan-DPC committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    5377c31 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#101995 - scottmcm:carrying-mul-example, r=M…

    …ark-Simulacrum
    
    Add another example for `uN::carrying_mul`
    
    The prose talks about doing this, so might as well add a simple code example of it too.
    Dylan-DPC committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    9b24a1f View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#102031 - andrewpollack:compiler-tests-backt…

    …race, r=tmandry
    
    Adding ignore fuchsia tests for Backtrace, ErrorKind cases
    
    Tests where Backtrace parses are required (invalid since Fuchsia backtraces are not symbolized), and test where ErrorKind is not properly translated from a Fuchsia-style to Unix-style error code
    
    cc. ```@djkoloski```
    
    r? ```@tmandry```
    Dylan-DPC committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    36e3972 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#102041 - nnethercote:improve-meta-stats, r=…

    …bjorn3
    
    Improve `-Zmeta-stats` some more
    
    A follow-up to rust-lang#97384.
    
    r? ```@bjorn3```
    Dylan-DPC committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    4b7c596 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#102045 - RalfJung:const-prop-regression-fix…

    …, r=oli-obk
    
    fix ConstProp handling of written_only_inside_own_block_locals
    
    Fixes a regression introduced by rust-lang#100239, which adds an early return and thus skips some code in `visit_terminator` that must be run for soundness.
    
    Fixes rust-lang#101973
    Dylan-DPC committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    7d7f555 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#102058 - mqudsi:path_extension_docs, r=thomcc

    Clarify Path::extension() semantics in docs abstract
    
    State up-front and center what shape the returned extension will have, without making the user read through the description and examples.
    
    This is a doc-only change. There are no changes to the API contract and the clarification is in line with what was already stated/promised in the existing doc text - just clarified, summarized, and served bright and early.
    
    Rationale: Various frameworks and libraries for different platforms have their different conventions as to whether an "extension" is ".ext" or just "ext" and anyone that's had to deal with this ambiguity in the past is always double- or triple-checking to make sure the function call returns an extension that matches the expected semantics. Offer the answer to this important question right off the bat instead of making them dig to find it.
    
    ```@rustbot``` label +A-docs
    Dylan-DPC committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    77d063b View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#102059 - compiler-errors:issue-101984, r=ja…

    …ckh726
    
    Use rebind instead of dummy binder in `SameTypeModuloInfer` relation
    
    Lazy binder usage (sorry, my fault) + assertion in `Binder::dummy`
    
    Fixes rust-lang#101984
    Dylan-DPC committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    39bb2a7 View commit details
    Browse the repository at this point in the history