-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 #93525
Rollup of 8 pull requests #93525
Commits on Dec 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for bae0da8 - Browse repository at this point
Copy the full SHA bae0da8View commit details
Commits on Dec 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d9b98f9 - Browse repository at this point
Copy the full SHA d9b98f9View commit details
Commits on Jan 19, 2022
-
impl Display for io::ErrorKind
This avoids having to convert from `ErrorKind` to `Error` just to print the error message.
Configuration menu - View commit details
-
Copy full SHA for f8ee57b - Browse repository at this point
Copy the full SHA f8ee57bView commit details
Commits on Jan 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2bae730 - Browse repository at this point
Copy the full SHA 2bae730View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e9ee90 - Browse repository at this point
Copy the full SHA 2e9ee90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f24778 - Browse repository at this point
Copy the full SHA 7f24778View commit details
Commits on Jan 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1a77d62 - Browse repository at this point
Copy the full SHA 1a77d62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b8f372 - Browse repository at this point
Copy the full SHA 0b8f372View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec3b711 - Browse repository at this point
Copy the full SHA ec3b711View commit details -
Configuration menu - View commit details
-
Copy full SHA for c15ef58 - Browse repository at this point
Copy the full SHA c15ef58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0363f11 - Browse repository at this point
Copy the full SHA 0363f11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95344c0 - Browse repository at this point
Copy the full SHA 95344c0View commit details -
Rollup merge of rust-lang#91343 - FabianWolff:issue-91328-as-deref, r…
…=jackh726 Fix suggestion to slice if scrutinee is a `Result` or `Option` Fixes rust-lang#91328.
Configuration menu - View commit details
-
Copy full SHA for a937dd5 - Browse repository at this point
Copy the full SHA a937dd5View commit details -
Rollup merge of rust-lang#91828 - oxalica:feat/waker-getters, r=dtolnay
Implement `RawWaker` and `Waker` getters for underlying pointers implement rust-lang#87021 New APIs: - `RawWaker::data(&self) -> *const ()` - `RawWaker::vtable(&self) -> &'static RawWakerVTable` - ~`Waker::as_raw_waker(&self) -> &RawWaker`~ `Waker::as_raw(&self) -> &RawWaker` This third one is an auxiliary function to make the two APIs above more useful. Since we can only get `&Waker` in `Future::poll`, without this, we need to `transmute` it into `&RawWaker` (relying on `repr(transparent)`) in order to access its data/vtable pointers. ~Not sure if it should be named `as_raw` or `as_raw_waker`. Seems we always use `as_<something-raw>` instead of just `as_raw`. But `as_raw_waker` seems not quite consistent with `Waker::from_raw`.~ As suggested in rust-lang#91828 (comment), use `as_raw`.
Configuration menu - View commit details
-
Copy full SHA for 2d658e9 - Browse repository at this point
Copy the full SHA 2d658e9View commit details -
Rollup merge of rust-lang#92021 - woodenarrow:br_single_fp_element, r…
…=Mark-Simulacrum Eliminate duplicate codes of is_single_fp_element There are duplicate codes of is_single_fp_element function. Merge these codes to TyAndLayout impl block. ![image](https://user-images.githubusercontent.com/95843988/146707753-ba9ffc41-5888-4a53-80cf-f4fe3bcbac54.png)
Configuration menu - View commit details
-
Copy full SHA for 0c44c66 - Browse repository at this point
Copy the full SHA 0c44c66View commit details -
Rollup merge of rust-lang#93019 - 5225225:uppercase-suffix, r=wesleyw…
…iser If an integer is entered with an upper-case base prefix (0Xbeef, 0O755, 0B1010), suggest to make it lowercase The current error for this case isn't really great, it just complains about the whole thing past the `0` being an invalid suffix.
Configuration menu - View commit details
-
Copy full SHA for 561f997 - Browse repository at this point
Copy the full SHA 561f997View commit details -
Rollup merge of rust-lang#93090 - jyn514:errorkind-asstr, r=dtolnay
`impl Display for io::ErrorKind` This avoids having to convert from `ErrorKind` to `Error` just to print the error message.
Configuration menu - View commit details
-
Copy full SHA for 802c57d - Browse repository at this point
Copy the full SHA 802c57dView commit details -
Rollup merge of rust-lang#93267 - lcnr:auto-trait-lint, r=nikomatsakis
implement a lint for suspicious auto trait impls cc rust-lang#85048 (comment) r? ``@nikomatsakis``
Configuration menu - View commit details
-
Copy full SHA for 478698b - Browse repository at this point
Copy the full SHA 478698bView commit details -
Rollup merge of rust-lang#93456 - bjorn3:remove_unnecessary_unsafe, r…
…=michaelwoerister Remove an unnecessary transmute from opaque::Encoder
Configuration menu - View commit details
-
Copy full SHA for 4aee623 - Browse repository at this point
Copy the full SHA 4aee623View commit details -
Rollup merge of rust-lang#93504 - solid-rs:fix-kmc-solid-stack-size, …
…r=nagisa kmc-solid: Increase the default stack size This PR increases the default minimum stack size on the [`*-kmc-solid_*`](https://doc.rust-lang.org/nightly/rustc/platform-support/kmc-solid.html) Tier 3 targets to 64KiB (Arm) and 128KiB (AArch64). This value was chosen as a middle ground between supporting a relatively complex program (e.g., an application using a full-fledged off-the-shelf web server framework) with no additional configuration and minimizing resource consumption for the embedded platform that doesn't support lazily-allocated pages nor over-commitment (i.e., wasted stack spaces are wasted physical memory). If the need arises, the users can always set the `RUST_MIN_STACK` environmental variable to override the default stack size or use the platform API directly.
Configuration menu - View commit details
-
Copy full SHA for 8968b20 - Browse repository at this point
Copy the full SHA 8968b20View commit details