-
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 12 pull requests #82472
Rollup of 12 pull requests #82472
Commits on Feb 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3ed189e - Browse repository at this point
Copy the full SHA 3ed189eView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd3772e - Browse repository at this point
Copy the full SHA dd3772eView commit details
Commits on Feb 20, 2021
-
Replace normalize.css 3.0.0 with unminified version.
This is in preparation to upgrade to 8.0.1, so the next commit can contain more meaningful diffs.
Configuration menu - View commit details
-
Copy full SHA for 7ad4b7a - Browse repository at this point
Copy the full SHA 7ad4b7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bbd482 - Browse repository at this point
Copy the full SHA 9bbd482View commit details -
This bypasses tidy's complaints about tab indent. Also, this lets us remove comments while keeping the MIT license comment.
Configuration menu - View commit details
-
Copy full SHA for 7acb105 - Browse repository at this point
Copy the full SHA 7acb105View commit details
Commits on Feb 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 24c23f5 - Browse repository at this point
Copy the full SHA 24c23f5View commit details -
Add a
size()
function to WASI'sMetadataExt
.WASI's `filestat` type includes a size field, so expose it in `MetadataExt` via a `size()` function, similar to the corresponding Unix function.
Configuration menu - View commit details
-
Copy full SHA for e8dcc02 - Browse repository at this point
Copy the full SHA e8dcc02View commit details
Commits on Feb 23, 2021
-
Set RUST_BACKTRACE=0 when running
treat-err-as-bug
testsThese ensure that these tests pass regardless of what RUST_BACKTRACE is set to in the user's shell.
Configuration menu - View commit details
-
Copy full SHA for c9d86aa - Browse repository at this point
Copy the full SHA c9d86aaView commit details -
Enable API documentation for
std::os::wasi
.This adds API documentation support for `std::os::wasi` modeled after how `std::os::unix` works, so that WASI can be documented [here] along with the other platforms. [here]: https://doc.rust-lang.org/stable/std/os/index.html Two changes of particular interest: - This changes the `AsRawFd` for `io::Stdin` for WASI to return `libc::STDIN_FILENO` instead of `sys::stdio::Stdin.as_raw_fd()` (and similar for `Stdout` and `Stderr`), which matches how the `unix` version works. `STDIN_FILENO` etc. may not always be explicitly reserved at the WASI level, but as long as we have Rust's `std` and `libc`, I think it's reasonable to guarantee that we'll always use `libc::STDIN_FILENO` for stdin. - This duplicates the `osstr2str` utility function, rather than trying to share it across all the configurations that need it.
Configuration menu - View commit details
-
Copy full SHA for 132ec26 - Browse repository at this point
Copy the full SHA 132ec26View commit details -
Configuration menu - View commit details
-
Copy full SHA for f94c15c - Browse repository at this point
Copy the full SHA f94c15cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6eb836 - Browse repository at this point
Copy the full SHA a6eb836View commit details
Commits on Feb 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 010a6f9 - Browse repository at this point
Copy the full SHA 010a6f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 476c6c2 - Browse repository at this point
Copy the full SHA 476c6c2View commit details -
rustdoc: Name fields of
ResolutionFailure::WrongNamespace
It makes it clearer that the `Namespace` is the one requested by the disambiguator, rather than the actual namespace of the item. It said that in the docs before, but now you can tell in the code so it reduces the potential for confusion.
Configuration menu - View commit details
-
Copy full SHA for a03950b - Browse repository at this point
Copy the full SHA a03950bView commit details -
Move pick_by_value_method docs above function header
- Currently style triggers rust-lang#81183 so we can't add `#[instrument]` to this function. - Having docs above the header is more consistent with the rest of the code base.
Configuration menu - View commit details
-
Copy full SHA for 5ac6935 - Browse repository at this point
Copy the full SHA 5ac6935View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c5f684 - Browse repository at this point
Copy the full SHA 9c5f684View commit details -
Rollup merge of rust-lang#80534 - LeSeulArtichaut:doc-include, r=jyn514
Use #[doc = include_str!()] in std cc rust-lang#78835 (comment) r? ```@jyn514```
Configuration menu - View commit details
-
Copy full SHA for 595b8be - Browse repository at this point
Copy the full SHA 595b8beView commit details -
Rollup merge of rust-lang#81575 - camelid:rustdoc-wrongnamespace-clea…
…nup, r=jyn514 rustdoc: Name fields of `ResolutionFailure::WrongNamespace` It makes it clearer that the `Namespace` is the one requested by the disambiguator, rather than the actual namespace of the item. It said that in the docs before, but now you can tell in the code so it reduces the potential for confusion.
Configuration menu - View commit details
-
Copy full SHA for 6fe9144 - Browse repository at this point
Copy the full SHA 6fe9144View commit details -
Rollup merge of rust-lang#82269 - LeSeulArtichaut:cleanup-ppmode, r=s…
…pastorino Cleanup `PpMode` and friends This PR: - Separates `PpSourceMode` and `PpHirMode` to remove invalid states - Renames the variant to remove the redundant `Ppm` prefix - Adds basic documentation for the different pretty-print modes - Cleanups some code to make it more idiomatic Not sure if this is actually useful, but it looks cleaner to me.
Configuration menu - View commit details
-
Copy full SHA for 67c85d7 - Browse repository at this point
Copy the full SHA 67c85d7View commit details -
Rollup merge of rust-lang#82313 - jsha:update-normalize-css, r=Guilla…
…umeGomez Update normalize.css to 8.0.1 From From https://github.com/necolas/normalize.css/releases/tag/8.0.1. The old version was 3.0.0, from 2014. The new version is from 2018. I noticed when looking at frontend performance for rustdoc that this file was out of date. The URL in the 3.0.0 license header now resolves to an incorrect destination. And generally it seems good to be up-to-date. Before-and-after images, plus diff, under details. TL;DR: Nothing changes except a slight adjustment to line height. <details> ![with-normalize-8 0 1](https://user-images.githubusercontent.com/220205/108581849-bd5c8800-72e4-11eb-9150-78c8d67ca37a.png) ![with-normalize-3 0 0](https://user-images.githubusercontent.com/220205/108581848-bcc3f180-72e4-11eb-8b45-0cd1415a51e5.png) ![diff](https://user-images.githubusercontent.com/220205/108581890-dfeea100-72e4-11eb-93c5-6284492f54a9.png) </details>
Configuration menu - View commit details
-
Copy full SHA for 761efcf - Browse repository at this point
Copy the full SHA 761efcfView commit details -
Rollup merge of rust-lang#82404 - nagisa:nagisa/hexagon-enums-llvm-co…
…mps, r=petrochenkov Test hexagon-enum only when llvm target is present See rust-lang#82379 (comment) r? ```@petrochenkov``` ```@bors``` rollup
Configuration menu - View commit details
-
Copy full SHA for 2fb67e0 - Browse repository at this point
Copy the full SHA 2fb67e0View commit details -
Rollup merge of rust-lang#82420 - sunfishcode:wasi-docs, r=alexcrichton
Enable API documentation for `std::os::wasi`. This adds API documentation support for `std::os::wasi` modeled after how `std::os::unix` works, so that WASI can be documented [here] along with the other platforms. [here]: https://doc.rust-lang.org/stable/std/os/index.html Two changes of particular interest: - This changes the `AsRawFd` for `io::Stdin` for WASI to return `libc::STDIN_FILENO` instead of `sys::stdio::Stdin.as_raw_fd()` (and similar for `Stdout` and `Stderr`), which matches how the `unix` version works. `STDIN_FILENO` etc. may not always be explicitly reserved at the WASI level, but as long as we have Rust's `std` and `libc`, I think it's reasonable to guarantee that we'll always use `libc::STDIN_FILENO` for stdin. - This duplicates the `osstr2str` utility function, rather than trying to share it across all the configurations that need it. r? ```@alexcrichton```
Configuration menu - View commit details
-
Copy full SHA for 459edd6 - Browse repository at this point
Copy the full SHA 459edd6View commit details -
Rollup merge of rust-lang#82421 - sunfishcode:wasi-metadata-size, r=a…
…lexcrichton Add a `size()` function to WASI's `MetadataExt`. WASI's `filestat` type includes a size field, so expose it in `MetadataExt` via a `size()` function, similar to the corresponding Unix function. r? ```@alexcrichton```
Configuration menu - View commit details
-
Copy full SHA for 603332d - Browse repository at this point
Copy the full SHA 603332dView commit details -
Rollup merge of rust-lang#82431 - Aaron1011:fix/bug-env, r=jyn514
Set RUST_BACKTRACE=0 when running `treat-err-as-bug` tests These ensure that these tests pass regardless of what RUST_BACKTRACE is set to in the user's shell.
Configuration menu - View commit details
-
Copy full SHA for 40374d2 - Browse repository at this point
Copy the full SHA 40374d2View commit details -
Rollup merge of rust-lang#82441 - frewsxcv:frewsxcv-docs, r=Guillaume…
…Gomez Fix typo in sanitizer flag in unstable book.
Configuration menu - View commit details
-
Copy full SHA for 000d9d7 - Browse repository at this point
Copy the full SHA 000d9d7View commit details -
Rollup merge of rust-lang#82463 - jrmuizel:patch-1, r=steveklabnik
panic_bounds_checks should be panic_bounds_check
Configuration menu - View commit details
-
Copy full SHA for d62b71e - Browse repository at this point
Copy the full SHA d62b71eView commit details -
Rollup merge of rust-lang#82464 - ehuss:unix-command-comment, r=kennytm
Update outdated comment in unix Command. The big comment in the `Command` struct has been incorrect for some time (at least since rust-lang#46789 which removed `envp`). Rather than try to remove the allocations, this PR just updates the comment to reflect reality. There is an explanation for the reasoning at rust-lang#31409 (comment), discussing the potential of being able to call `Command::exec` after `libc::fork`. That can still be done in the future, but I think for now it would be good to just correct the comment.
Configuration menu - View commit details
-
Copy full SHA for c5a3305 - Browse repository at this point
Copy the full SHA c5a3305View commit details -
Rollup merge of rust-lang#82468 - osa1:pick_by_value_method_docs, r=p…
…etrochenkov Move pick_by_value_method docs above function header - Currently style triggers rust-lang#81183 so we can't add `#[instrument]` to this function. - Having docs above the header is more consistent with the rest of the code base.
Configuration menu - View commit details
-
Copy full SHA for 56fc3c5 - Browse repository at this point
Copy the full SHA 56fc3c5View commit details