-
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 11 pull requests #77177
Rollup of 11 pull requests #77177
Commits on Sep 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3e08354 - Browse repository at this point
Copy the full SHA 3e08354View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4387480 - Browse repository at this point
Copy the full SHA 4387480View commit details
Commits on Sep 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9f27f37 - Browse repository at this point
Copy the full SHA 9f27f37View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5d47bf - Browse repository at this point
Copy the full SHA b5d47bfView commit details -
This keeps only the `std` artifacts compiled by the given stage, not the compiler. This is useful when working on the latter stages of the compiler in tandem with the standard library, since you don't have to rebuild the *entire* compiler when the standard library changes.
Configuration menu - View commit details
-
Copy full SHA for bcbd2cc - Browse repository at this point
Copy the full SHA bcbd2ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for df004df - Browse repository at this point
Copy the full SHA df004dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef95430 - Browse repository at this point
Copy the full SHA ef95430View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0ddaed - Browse repository at this point
Copy the full SHA c0ddaedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 945a732 - Browse repository at this point
Copy the full SHA 945a732View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16769eb - Browse repository at this point
Copy the full SHA 16769ebView commit details
Commits on Sep 24, 2020
-
- Suggest `x.py setup` if config.toml doesn't exist yet (twice, once before and once after the build) - Prompt for a profile if not given on the command line - Print the configuration file that will be used - Print helpful starting commands after setup - Link to the dev-guide after finishing - Note that distro maintainers will see the changelog warning
Configuration menu - View commit details
-
Copy full SHA for 9baa601 - Browse repository at this point
Copy the full SHA 9baa601View commit details -
Configuration menu - View commit details
-
Copy full SHA for 382d724 - Browse repository at this point
Copy the full SHA 382d724View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1857184 - Browse repository at this point
Copy the full SHA 1857184View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47843f5 - Browse repository at this point
Copy the full SHA 47843f5View commit details
Commits on Sep 25, 2020
-
Reopen standard streams when they are closed on Unix
The syscalls returning a new file descriptors generally use lowest-numbered file descriptor not currently opened, without any exceptions for those corresponding to the standard streams. Previously when any of standard streams has been closed before starting the application, operations on std::io::{stderr,stdin,stdout} objects were likely to operate on other logically unrelated file resources opened afterwards. Avoid the issue by reopening the standard streams when they are closed.
Configuration menu - View commit details
-
Copy full SHA for 44e083e - Browse repository at this point
Copy the full SHA 44e083eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d3717d - Browse repository at this point
Copy the full SHA 1d3717dView commit details -
Rollup merge of rust-lang#75295 - tmiasko:fds, r=Amanieu
Reopen standard file descriptors when they are missing on Unix The syscalls returning a new file descriptors generally return lowest-numbered file descriptor not currently opened, without any exceptions for those corresponding to stdin, sdout, or stderr. Previously when any of standard file descriptors has been closed before starting the application, operations on std::io::{stderr,stdin,stdout} were likely to either succeed while being performed on unrelated file descriptor, or fail with EBADF which is silently ignored. Avoid the issue by using /dev/null as a replacement when the standard file descriptors are missing. The implementation is based on the one found in musl. It was selected among a few others on the basis of the lowest overhead in the case when all descriptors are already present (measured on GNU/Linux). Closes rust-lang#57728. Closes rust-lang#46981. Closes rust-lang#60447. Benefits: * Makes applications robust in the absence of standard file descriptors. * Upholds IntoRawFd / FromRawFd safety contract (which was broken previously). Drawbacks: * Additional syscall during startup. * The standard descriptors might have been closed intentionally. * Requires /dev/null. Alternatives: * Check if stdin, stdout, stderr are opened and provide no-op substitutes in std::io::{stdin,stdout,stderr} without reopening them directly. * Leave the status quo, expect robust applications to reopen them manually.
Configuration menu - View commit details
-
Copy full SHA for a02f945 - Browse repository at this point
Copy the full SHA a02f945View commit details -
Rollup merge of rust-lang#76631 - jyn514:x.py-setup, r=Mark-Simulacrum
Add `x.py setup` Closes rust-lang#76503. - Suggest `x.py setup` if config.toml doesn't exist yet - Prompt for a profile if not given on the command line - Print the configuration that will be used - Print helpful starting commands after setup - Link to the dev-guide after finishing
Configuration menu - View commit details
-
Copy full SHA for f3a1f7d - Browse repository at this point
Copy the full SHA f3a1f7dView commit details -
Rollup merge of rust-lang#76973 - lzutao:unstably-const-assume, r=oli…
…-obk Unstably allow assume intrinsic in const contexts Not sure much about this usage because there are concerns about [blocking optimization][1] and [slowing down LLVM][2] when using `assme` intrinsic in inline functions. But since Oli suggested in rust-lang#76960 (comment), here we are. [1]: rust-lang#54995 (comment) [2]: rust-lang#49572 (comment)
Configuration menu - View commit details
-
Copy full SHA for 287fdff - Browse repository at this point
Copy the full SHA 287fdffView commit details -
Rollup merge of rust-lang#77086 - ehuss:src-libunwind, r=Mark-Simulacrum
Include libunwind in the rust-src component. Some targets, such as musl, need the libunwind source to build the unwind crate (referenced [here](https://github.com/rust-lang/rust/blob/0da58007451a154da2480160429e1604a1f5f0ec/library/unwind/build.rs#L142)). Fixes rust-lang/wg-cargo-std-aware#59
Configuration menu - View commit details
-
Copy full SHA for 447f83f - Browse repository at this point
Copy the full SHA 447f83fView commit details -
Rollup merge of rust-lang#77106 - matthiaskrgr:changelog_seen, r=Mark…
…-Simulacrum clarify that `changelog-seen = 1` goes to the beginning of config.toml Fixes rust-lang#77105
Configuration menu - View commit details
-
Copy full SHA for a6d54fa - Browse repository at this point
Copy the full SHA a6d54faView commit details -
Rollup merge of rust-lang#77120 - ecstatic-morse:keep-stage-std, r=Ma…
…rk-Simulacrum Add `--keep-stage-std` to `x.py` for keeping only standard library artifacts Unlike `--keep-stage 0`, `--keep-stage-std 0` will allow the stage 0 compiler artifacts (i.e., stage1/bin/rustc) to be rebuilt if it has changed. This allows contributors to iterate on later stages of the compiler in tandem with the standard library without needing to to rebuild the entire compiler. I often run into this when working on const-checking, since I may need to add a feature gate or make a small tweak to the standard library.
Configuration menu - View commit details
-
Copy full SHA for 0547f0e - Browse repository at this point
Copy the full SHA 0547f0eView commit details -
Rollup merge of rust-lang#77126 - Mark-Simulacrum:llvm-less-often, r=…
…alexcrichton Invalidate local LLVM cache less often This avoids a download of LLVM after every rebase. The downside to this is that if we land some patch affecting LLVM built in CI that breaks this option, but that PR does not update the LLVM submodule, we'll likely not notice until the next update -- but this seems unlikely to happen in practice and I am not personally worried about it. r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for fd614e5 - Browse repository at this point
Copy the full SHA fd614e5View commit details -
Rollup merge of rust-lang#77127 - camelid:update-mdbook, r=Dylan-DPC
Update mdBook 0.4.2 -> 0.4.3 Also updated version requirement in `Cargo.toml` from 0.4.0 to 0.4.3.
Configuration menu - View commit details
-
Copy full SHA for 9918281 - Browse repository at this point
Copy the full SHA 9918281View commit details -
Rollup merge of rust-lang#77155 - lcnr:ImplSource, r=ecstatic-morse
remove enum name from ImplSource variants This is quite a lot cleaner in my opinion.
Configuration menu - View commit details
-
Copy full SHA for 96f63af - Browse repository at this point
Copy the full SHA 96f63afView commit details -
Rollup merge of rust-lang#77166 - RalfJung:miri, r=RalfJung
update Miri Fixes rust-lang#77130
Configuration menu - View commit details
-
Copy full SHA for 461038a - Browse repository at this point
Copy the full SHA 461038aView commit details -
Rollup merge of rust-lang#77176 - austinkeeley:intrinsics-documentata…
…tion-error, r=jyn514 Removing erroneous semicolon in transmute documentation There is a semicolon in the example code that causes the expected value to not be returned.
Configuration menu - View commit details
-
Copy full SHA for 0af0324 - Browse repository at this point
Copy the full SHA 0af0324View commit details