-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 #101257
Rollup of 10 pull requests #101257
Commits on Aug 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6b68921 - Browse repository at this point
Copy the full SHA 6b68921View commit details
Commits on Aug 14, 2022
-
rustc_target: Add a compatibility layer to separate internal and user…
…-facing linker flavors
Configuration menu - View commit details
-
Copy full SHA for d8a32dd - Browse repository at this point
Copy the full SHA d8a32ddView commit details -
rustc_target: Refactor internal linker flavors slightly
Remove one unstable user-facing linker flavor (l4-bender)
Configuration menu - View commit details
-
Copy full SHA for 667eb18 - Browse repository at this point
Copy the full SHA 667eb18View commit details
Commits on Aug 23, 2022
-
Support eager and lazy methods for providing references and values
There are times where computing a value may be cheap, or where computing a reference may be expensive, so this fills out the possibilities.
Configuration menu - View commit details
-
Copy full SHA for 38de102 - Browse repository at this point
Copy the full SHA 38de102View commit details -
Add `Provider::{would_be_satisfied_by_value_of,would_be_satisfied_by_…
…ref_of}` While the `provide_*` methods already short-circuit when a value has been provided, there are times where an expensive computation is needed to determine if the `provide_*` method can even be called.
Configuration menu - View commit details
-
Copy full SHA for 260ec93 - Browse repository at this point
Copy the full SHA 260ec93View commit details
Commits on Aug 29, 2022
-
`std::os::fd` defines types like `OwnedFd` and `RawFd` and is common between Unix and non-Unix platforms that share a basic file-descriptor concept. Rust currently uses this internally to simplify its own code, but it would be useful for external users in the same way, so make it public. This means that `OwnedFd` etc. will all appear in three places, for example on unix platforms: - `std::os::fd::OwnedFd` - `std::os::unix::io::OwnedFd` - `std::os::unix::prelude::OwnedFd`
Configuration menu - View commit details
-
Copy full SHA for c846a2a - Browse repository at this point
Copy the full SHA c846a2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09bbc42 - Browse repository at this point
Copy the full SHA 09bbc42View commit details -
Configuration menu - View commit details
-
Copy full SHA for bda1262 - Browse repository at this point
Copy the full SHA bda1262View commit details -
Re-introduce
unstable
attributes.Add `#[unstable(feature = "os_fd", issue = "98699")]` to the new `pub use` declarations.
Configuration menu - View commit details
-
Copy full SHA for 7d80510 - Browse repository at this point
Copy the full SHA 7d80510View commit details
Commits on Aug 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d7eeaf5 - Browse repository at this point
Copy the full SHA d7eeaf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for efd307b - Browse repository at this point
Copy the full SHA efd307bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 876f1cc - Browse repository at this point
Copy the full SHA 876f1ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8cc821 - Browse repository at this point
Copy the full SHA c8cc821View commit details -
This commit removes many cases of MIR opt tests emitting `.diff`s for more than one pass. These tests cannot be `unit-test`s, and so they are easy to break, and they also provide little value due to having excessively strong opinions over *how* a piece of code should be optimized. Where reasonable, we instead add separate test files that only emit the `PreCodegen.after` MIR for code where we want to track what the result of the net result of the optimization pipeline's output is.
Configuration menu - View commit details
-
Copy full SHA for 4a33bf3 - Browse repository at this point
Copy the full SHA 4a33bf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 803e35a - Browse repository at this point
Copy the full SHA 803e35aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4304d1d - Browse repository at this point
Copy the full SHA 4304d1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b112bfe - Browse repository at this point
Copy the full SHA b112bfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8af919 - Browse repository at this point
Copy the full SHA f8af919View commit details -
Fix bad target name in Walkthrough
Walkthrough currently say: ``` rustup target add aarch_64-fuchsia ``` but should say ``` rustup target add aarch64-fuchsia ```
Configuration menu - View commit details
-
Copy full SHA for a928255 - Browse repository at this point
Copy the full SHA a928255View commit details -
rustdoc: remove unused
.docblock .impl-items
CSSThe impl-items list stopped being nested inside a docblock since c1b1d68
Configuration menu - View commit details
-
Copy full SHA for 037a911 - Browse repository at this point
Copy the full SHA 037a911View commit details
Commits on Sep 1, 2022
-
Rollup merge of rust-lang#98368 - sunfishcode:sunfishcode/std-os-fd, …
…r=joshtriplett Make `std::os::fd` public. `std::os::fd` defines types like `OwnedFd` and `RawFd` and is common between Unix and non-Unix platforms that share a basic file-descriptor concept. Rust currently uses this internally to simplify its own code, but it would be useful for external users in the same way, so make it public. This means that `OwnedFd` etc. will all appear in three places, for example on unix platforms: - `std::os::fd::OwnedFd` - `std::os::unix::io::OwnedFd` - `std::os::unix::prelude::OwnedFd` r? `@joshtriplett`
Configuration menu - View commit details
-
Copy full SHA for 3b4a02a - Browse repository at this point
Copy the full SHA 3b4a02aView commit details -
Rollup merge of rust-lang#99583 - shepmaster:provider-plus-plus, r=yaahc
Add additional methods to the Demand type This adds on to the original tracking issue rust-lang#96024 r? `@yaahc`
Configuration menu - View commit details
-
Copy full SHA for 4648fed - Browse repository at this point
Copy the full SHA 4648fedView commit details -
Rollup merge of rust-lang#100200 - petrochenkov:zgccld2, r=lqd,Mark-S…
…imulacrum Change implementation of `-Z gcc-ld` and `lld-wrapper` again This PR partially reverts rust-lang#97375 and uses the strategy described in rust-lang#97402 (comment) instead, thus fixes rust-lang#97755.
Configuration menu - View commit details
-
Copy full SHA for 6c60a4a - Browse repository at this point
Copy the full SHA 6c60a4aView commit details -
Rollup merge of rust-lang#100552 - petrochenkov:flavorcompat, r=lqd
rustc_target: Add a compatibility layer to separate internal and user-facing linker flavors I want to do some refactorings in `rustc_target` - merge `lld_flavor` and `linker_is_gnu` into `linker_flavor`, support combination gcc+lld (rust-lang#96827). This PR adds some compatibility infra that makes that possible without making any changes to user-facing interfaces - `-Clinker-flavor` values and json target specs. (For json target specs this infra may eventually go away since they are not very stable.) The second commit does some light refactoring of internal linker flavors (applies changes from petrochenkov@53eca42 that don't require mass-editing target specs).
Configuration menu - View commit details
-
Copy full SHA for bfa3555 - Browse repository at this point
Copy the full SHA bfa3555View commit details -
Rollup merge of rust-lang#100574 - Urgau:check-cfg-warn-cfg, r=petroc…
…henkov Add warning against unexpected --cfg with --check-cfg This PR adds a warning when an unexpected `--cfg` is specified but not in the specified list of `--check-cfg`. This is the follow-up PR I mentioned in rust-lang#99519. r? `@petrochenkov`
Configuration menu - View commit details
-
Copy full SHA for 3bbd4ce - Browse repository at this point
Copy the full SHA 3bbd4ceView commit details -
Rollup merge of rust-lang#100640 - reitermarkus:socket-display-buffer…
…, r=thomcc Use `DisplayBuffer` for socket addresses. Continuation of rust-lang#100625 for socket addresses. Renames `net::addr` to `net::addr::socket`, `net::ip` to `net::addr::ip` and `net::ip::display_buffer::IpDisplayBuffer` to `net::addr::display_buffer::DisplayBuffer`.
Configuration menu - View commit details
-
Copy full SHA for f33122c - Browse repository at this point
Copy the full SHA f33122cView commit details -
Rollup merge of rust-lang#100827 - JakobDegen:better-tests, r=wesleyw…
…iser Simplify MIR opt tests This commit removes many cases of MIR opt tests emitting `.diff`s for more than one pass. These tests cannot be `unit-test`s, and so they are easy to break, and they also provide little value due to having excessively strong opinions over *how* a piece of code should be optimized. Where reasonable, we instead add separate test files that only emit the `PreCodegen.after` MIR for code where we want to track what the end to end effect of the optimization pipeline on the example code is. r? `@wesleywiser`
Configuration menu - View commit details
-
Copy full SHA for 02fc0aa - Browse repository at this point
Copy the full SHA 02fc0aaView commit details -
Rollup merge of rust-lang#101245 - GuillaumeGomez:remove-unneeded-whe…
…re-whitespace, r=notriddle Remove unneeded where whitespace It fixes these two bugs: ![Screenshot from 2022-08-31 18-14-40](https://user-images.githubusercontent.com/3050060/187727950-94657419-abfa-454c-9d27-004280fbcb45.png) ![Screenshot from 2022-08-31 18-14-49](https://user-images.githubusercontent.com/3050060/187727956-21d1b39d-62d7-4e7b-8f6f-631ceda67a19.png) It's a relic from a very old time (this commit: rust-lang@bfd01b7). You can test the result [here](https://rustdoc.crud.net/imperio/remove-unneeded-where-whitespace/lib2/struct.WhereWhitespace.html). cc `@jsha` r? `@notriddle`
Configuration menu - View commit details
-
Copy full SHA for baa19eb - Browse repository at this point
Copy the full SHA baa19ebView commit details -
Rollup merge of rust-lang#101251 - diminishedprime:patch-1, r=JohnTitor
Fix bad target name in Walkthrough Walkthrough currently say: ``` rustup target add aarch_64-fuchsia ``` but should say ``` rustup target add aarch64-fuchsia ```
Configuration menu - View commit details
-
Copy full SHA for d6a0fbd - Browse repository at this point
Copy the full SHA d6a0fbdView commit details -
Rollup merge of rust-lang#101254 - rust-lang:notriddle/remove-even-mo…
…re-css, r=jsha rustdoc: remove unused `.docblock .impl-items` CSS The impl-items list stopped being nested inside a docblock since c1b1d68
Configuration menu - View commit details
-
Copy full SHA for dcaa686 - Browse repository at this point
Copy the full SHA dcaa686View commit details