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 10 pull requests #83545

Closed
wants to merge 23 commits into from
Closed

Commits on Mar 17, 2021

  1. cargo update -p parking_lot -p parking_lot_core

    Changelog: https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md#parking_lot_core-083-2021-02-12
    The full log:
    ```
    Removing cloudabi v0.1.0
    Updating parking_lot v0.11.0 -> v0.11.1
    Updating parking_lot_core v0.8.0 -> v0.8.3
    ```
    JohnTitor committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    79348f4 View commit details
    Browse the repository at this point in the history
  2. cargo update -p bytecount

    Commit range: llogiq/bytecount@b0f5fba...8dcd437
    
    The full log:
    ```
    Updating bytecount v0.6.0 -> v0.6.2
    Adding libm v0.1.4
    Removing packed_simd v0.3.3
    Adding packed_simd_2 v0.3.4
    ```
    JohnTitor committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    2b0e27e View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2021

  1. Use a single codegen unit to reduce non-determinism in srcloc.rs test

    When building with multiple codegen units the test case can fail with
    only a subset of all errors. Use a single codegen unit as a workaround.
    tmiasko committed Mar 20, 2021
    Configuration menu
    Copy the full SHA
    addf680 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d64f8d View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2021

  1. Simplify and fix byte skipping in format! string parser

    Fixes '\\' handling in format strings.
    
    Fixes rust-lang#83340
    osa1 committed Mar 21, 2021
    Configuration menu
    Copy the full SHA
    ae8ef70 View commit details
    Browse the repository at this point in the history
  2. format macro argument parsing fix

    When the character next to `{}` is "shifted" (when mapping a byte index
    in the format string to span) we should avoid shifting the span end
    index, so first map the index of `}` to span, then bump the span,
    instead of first mapping the next byte index to a span (which causes
    bumping the end span too much).
    
    Regression test added.
    
    Fixes rust-lang#83344
    osa1 committed Mar 21, 2021
    Configuration menu
    Copy the full SHA
    6c45ebe View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2021

  1. Configuration menu
    Copy the full SHA
    18748c9 View commit details
    Browse the repository at this point in the history
  2. Update library/alloc/src/fmt.rs

    alamb committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    93737dc View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2021

  1. Tell GitHub to highlight config.toml.example as TOML

    This should be a nice small quality of life improvement when looking at
    `config.toml.example` on GitHub or looking at diffs of it in PRs.
    camelid committed Mar 24, 2021
    Configuration menu
    Copy the full SHA
    b3ae90b View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2021

  1. Configuration menu
    Copy the full SHA
    4590d54 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    656f6ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    147316a View commit details
    Browse the repository at this point in the history
  4. fix doc comment for `ty::Dynamic

    lcnr committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    7ca2c98 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2021

  1. Rollup merge of rust-lang#83239 - JohnTitor:reduce-deps, r=Mark-Simul…

    …acrum
    
    Remove/replace some outdated crates from the dependency tree
    
    - Remove `cloudabi` by updating `parking_lot` to 0.11.1.
    - Replace `packed_simd` with `packed_simd2` by updating `bytecount` to 0.6.2.
    JohnTitor committed Mar 27, 2021
    Configuration menu
    Copy the full SHA
    929e88a View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#83328 - tmiasko:asm-test, r=joshtriplett

    Fixes to inline assmebly tests
    
    * Join test thread to make assertion effective in sym.rs test case
    * Use a single codegen unit to reduce non-determinism in srcloc.rs test rust-lang#82886
    JohnTitor committed Mar 27, 2021
    Configuration menu
    Copy the full SHA
    36e0a42 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#83343 - osa1:issue83340, r=jackh726

    Simplify and fix byte skipping in format! string parser
    
    Fixes '\\' handling in format strings.
    
    Fixes rust-lang#83340
    JohnTitor committed Mar 27, 2021
    Configuration menu
    Copy the full SHA
    cfd81d9 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#83348 - osa1:issue83344, r=jackh726

    format macro argument parsing fix
    
    When the character next to `{}` is "shifted" (when mapping a byte index
    in the format string to span) we should avoid shifting the span end
    index, so first map the index of `}` to span, then bump the span,
    instead of first mapping the next byte index to a span (which causes
    bumping the end span too much).
    
    Regression test added.
    
    Fixes rust-lang#83344
    
    ---
    
    r? ``@estebank``
    JohnTitor committed Mar 27, 2021
    Configuration menu
    Copy the full SHA
    188d53b View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#83388 - alamb:alamb/fmt-dcs, r=Mark-Simulacrum

    Make # pretty print format easier to discover
    
    # Rationale:
    
    I use (cargo cult?) three formats in rust:  `{}`, debug `{:?}`, and pretty-print debug `{:#?}`. I discovered `{:#?}` in some blog post or guide when I started working in Rust. While `#` is documented I think it is hard to discover. So taking the good advice of ``@carols10cents``  I am trying to improve the docs with a PR
    
    As a reminder "pretty print" means that where `{:?}` will print something like
    ```
    foo: { b1: 1, b2: 2}
    ```
    
    `{:#?}` will prints something like
    ```
    foo {
      b1: 1
      b2: 3
    }
    ```
    
    # Changes
    Add an example to `fmt` to try and make it easier to discover `#`
    JohnTitor committed Mar 27, 2021
    Configuration menu
    Copy the full SHA
    3de8fec View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#83431 - camelid:config-example-gitattribute…

    …s, r=Mark-Simulacrum
    
    Tell GitHub to highlight `config.toml.example` as TOML
    
    This should be a nice small quality of life improvement when looking at
    `config.toml.example` on GitHub or looking at diffs of it in PRs.
    JohnTitor committed Mar 27, 2021
    Configuration menu
    Copy the full SHA
    dedf95b View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#83508 - JohnTitor:platform-support-link, r=…

    …joshtriplett
    
    Use the direct link to the platform support page
    JohnTitor committed Mar 27, 2021
    Configuration menu
    Copy the full SHA
    94c3605 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#83511 - 12101111:fix-llvm-version-suffix, r…

    …=Mark-Simulacrum
    
    compiletest: handle llvm_version with suffix like "12.0.0libcxx"
    
    The previous code only remove the suffix begin with `-`, but Gentoo Linux [define `LLVM_VERSION_SUFFIX="libcxx"`](https://github.com/gentoo/gentoo/blob/604d79f327176eecb05293d7154e24231229cb31/sys-devel/llvm/llvm-11.1.0.ebuild#L378) when llvm is linked to libc++ and lead to a panic:
    
    ```
    thread 'main' panicked at 'Malformed version component: ParseIntError { kind: InvalidDigit }', src/tools/compiletest/src/header.rs:968:28
    ```
    
    This new code will handle all suffix not beginning with digit or dot.
    JohnTitor committed Mar 27, 2021
    Configuration menu
    Copy the full SHA
    b11da2b View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#83524 - faern:document-socketaddr-mem-layou…

    …t, r=sfackler
    
    Document that the SocketAddr memory representation is not stable
    
    Intended to help out with rust-lang#78802. Work has been put into finding and fixing code that assumes the memory layout of `SocketAddrV4` and `SocketAddrV6`. But it turns out there are cases where new code continues to make the same assumption ([example](spacejam/seaslug@96927dc#diff-917db3d8ca6f862ebf42726b23c72a12b35e584e497ebdb24e474348d7c6ffb6R610-R621)).
    
    The memory layout of a type in `std` is never part of the public API. Unless explicitly stated I guess. But since that is invalidly relied upon by a considerable amount of code for these particular types, it might make sense to explicitly document this. This can be temporary. Once rust-lang#78802 lands it does not make sense to rely on the layout any longer, and this documentation can also be removed.
    JohnTitor committed Mar 27, 2021
    Configuration menu
    Copy the full SHA
    3d5787b View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#83525 - rust-lang:lcnr-doc-patch, r=jonas-s…

    …chievink
    
    fix doc comment for `ty::Dynamic`
    JohnTitor committed Mar 27, 2021
    Configuration menu
    Copy the full SHA
    597ef13 View commit details
    Browse the repository at this point in the history