-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Rollup of 10 pull requests #83545
Commits on Mar 17, 2021
-
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 ```
Configuration menu - View commit details
-
Copy full SHA for 79348f4 - Browse repository at this point
Copy the full SHA 79348f4View commit details -
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 ```
Configuration menu - View commit details
-
Copy full SHA for 2b0e27e - Browse repository at this point
Copy the full SHA 2b0e27eView commit details
Commits on Mar 20, 2021
-
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.
Configuration menu - View commit details
-
Copy full SHA for addf680 - Browse repository at this point
Copy the full SHA addf680View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d64f8d - Browse repository at this point
Copy the full SHA 3d64f8dView commit details
Commits on Mar 21, 2021
-
Simplify and fix byte skipping in format! string parser
Fixes '\\' handling in format strings. Fixes rust-lang#83340
Configuration menu - View commit details
-
Copy full SHA for ae8ef70 - Browse repository at this point
Copy the full SHA ae8ef70View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 6c45ebe - Browse repository at this point
Copy the full SHA 6c45ebeView commit details
Commits on Mar 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 18748c9 - Browse repository at this point
Copy the full SHA 18748c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93737dc - Browse repository at this point
Copy the full SHA 93737dcView commit details
Commits on Mar 24, 2021
-
Tell GitHub to highlight
config.toml.example
as TOMLThis 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.
Configuration menu - View commit details
-
Copy full SHA for b3ae90b - Browse repository at this point
Copy the full SHA b3ae90bView commit details
Commits on Mar 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4590d54 - Browse repository at this point
Copy the full SHA 4590d54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 656f6ac - Browse repository at this point
Copy the full SHA 656f6acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 147316a - Browse repository at this point
Copy the full SHA 147316aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ca2c98 - Browse repository at this point
Copy the full SHA 7ca2c98View commit details
Commits on Mar 27, 2021
-
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.
Configuration menu - View commit details
-
Copy full SHA for 929e88a - Browse repository at this point
Copy the full SHA 929e88aView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 36e0a42 - Browse repository at this point
Copy the full SHA 36e0a42View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for cfd81d9 - Browse repository at this point
Copy the full SHA cfd81d9View commit details -
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``
Configuration menu - View commit details
-
Copy full SHA for 188d53b - Browse repository at this point
Copy the full SHA 188d53bView commit details -
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 `#`
Configuration menu - View commit details
-
Copy full SHA for 3de8fec - Browse repository at this point
Copy the full SHA 3de8fecView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for dedf95b - Browse repository at this point
Copy the full SHA dedf95bView commit details -
Rollup merge of rust-lang#83508 - JohnTitor:platform-support-link, r=…
…joshtriplett Use the direct link to the platform support page
Configuration menu - View commit details
-
Copy full SHA for 94c3605 - Browse repository at this point
Copy the full SHA 94c3605View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for b11da2b - Browse repository at this point
Copy the full SHA b11da2bView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 3d5787b - Browse repository at this point
Copy the full SHA 3d5787bView commit details -
Rollup merge of rust-lang#83525 - rust-lang:lcnr-doc-patch, r=jonas-s…
…chievink fix doc comment for `ty::Dynamic`
Configuration menu - View commit details
-
Copy full SHA for 597ef13 - Browse repository at this point
Copy the full SHA 597ef13View commit details