-
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 19 pull requests #76948
Rollup of 19 pull requests #76948
Commits on Sep 16, 2020
-
Don't generate bootstrap usage unless it's needed
Previously, `x.py` would unconditionally run `x.py build` to get the help message. After rust-lang#76165, when checking the CI stage was moved into `Config`, that would cause an assertion failure (but only only in CI!): ``` thread 'main' panicked at 'assertion failed: `(left == right)` left: `1`, right: `2`', src/bootstrap/config.rs:619:49 ``` This changes bootstrap to only generate a help message when it needs to (when someone passes `--help`).
Configuration menu - View commit details
-
Copy full SHA for c35ce3f - Browse repository at this point
Copy the full SHA c35ce3fView commit details -
Jethro Beekman committed
Sep 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 1d2290f - Browse repository at this point
Copy the full SHA 1d2290fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed6c7ef - Browse repository at this point
Copy the full SHA ed6c7efView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3607bd - Browse repository at this point
Copy the full SHA c3607bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4edc16 - Browse repository at this point
Copy the full SHA e4edc16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81b3b66 - Browse repository at this point
Copy the full SHA 81b3b66View commit details -
`const_mut_refs` doesn't actually work in a `const` or `static`
Configuration menu - View commit details
-
Copy full SHA for 1e1257b - Browse repository at this point
Copy the full SHA 1e1257bView commit details -
Configuration menu - View commit details
-
Copy full SHA for abc7167 - Browse repository at this point
Copy the full SHA abc7167View commit details -
Otherwise, we may not have a standard library built for the native "host" target of the rustc being run.
Configuration menu - View commit details
-
Copy full SHA for 7e24136 - Browse repository at this point
Copy the full SHA 7e24136View commit details -
Build rustdoc for cross-compiled targets
This isn't an issue for most folks who use x.py dist, which will directly depend on this. But for x.py build, if we don't properly set target here rustdoc will not be built. Currently, there is not a default-on step for generating a rustc for a given target either, so we will fail to build a rustc as well.
Configuration menu - View commit details
-
Copy full SHA for bd4e0af - Browse repository at this point
Copy the full SHA bd4e0afView commit details
Commits on Sep 17, 2020
-
use strip_prefix over starts_with and manual slicing based on pattern…
… length (clippy::manual_strip)
Configuration menu - View commit details
-
Copy full SHA for 012974d - Browse repository at this point
Copy the full SHA 012974dView commit details -
Let backends define custom targets
Add a target_override hook that takes priority over builtin targets.
Configuration menu - View commit details
-
Copy full SHA for c946c40 - Browse repository at this point
Copy the full SHA c946c40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48655c2 - Browse repository at this point
Copy the full SHA 48655c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b5d983 - Browse repository at this point
Copy the full SHA 7b5d983View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76ec3f8 - Browse repository at this point
Copy the full SHA 76ec3f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 643eb07 - Browse repository at this point
Copy the full SHA 643eb07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 363aff0 - Browse repository at this point
Copy the full SHA 363aff0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e9ad31 - Browse repository at this point
Copy the full SHA 8e9ad31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3323a26 - Browse repository at this point
Copy the full SHA 3323a26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 878dfa6 - Browse repository at this point
Copy the full SHA 878dfa6View commit details
Commits on Sep 18, 2020
-
Don't download/sync llvm-project submodule if download-ci-llvm is set
llvm-project takes > 1GB storage space and a long time to download. It's better to not download it unless needed.
Configuration menu - View commit details
-
Copy full SHA for f05b47c - Browse repository at this point
Copy the full SHA f05b47cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 28cfa97 - Browse repository at this point
Copy the full SHA 28cfa97View commit details -
Remove unused libc feature gate
Libc isn't used by alloc. And std and panic_* use libc from crates.io now, which isn't feature gated.
Configuration menu - View commit details
-
Copy full SHA for baafc71 - Browse repository at this point
Copy the full SHA baafc71View commit details -
Apply suggestions from code review
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
Configuration menu - View commit details
-
Copy full SHA for 4c92b3d - Browse repository at this point
Copy the full SHA 4c92b3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bdb039d - Browse repository at this point
Copy the full SHA bdb039dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f272896 - Browse repository at this point
Copy the full SHA f272896View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bc405e - Browse repository at this point
Copy the full SHA 0bc405eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0810c3e - Browse repository at this point
Copy the full SHA 0810c3eView commit details -
bootstrap: move the version number to a plaintext file
The Rust version number is currently embedded in bootstrap's source code, which makes it hard to update it automatically or access it outside of ./x.py (as you'd have to parse the source code). This commit moves the version number to a standalone plaintext file, which makes accessing or updating it trivial.
Configuration menu - View commit details
-
Copy full SHA for b9af3e3 - Browse repository at this point
Copy the full SHA b9af3e3View commit details -
Update library/alloc/src/collections/binary_heap.rs
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
Configuration menu - View commit details
-
Copy full SHA for 2230d8d - Browse repository at this point
Copy the full SHA 2230d8dView commit details -
Update library/alloc/src/collections/binary_heap.rs
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
Configuration menu - View commit details
-
Copy full SHA for ec7225f - Browse repository at this point
Copy the full SHA ec7225fView commit details -
Update library/alloc/src/collections/binary_heap.rs
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
Configuration menu - View commit details
-
Copy full SHA for 62e0ee1 - Browse repository at this point
Copy the full SHA 62e0ee1View commit details -
Update library/alloc/src/collections/binary_heap.rs
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
Configuration menu - View commit details
-
Copy full SHA for 719c40c - Browse repository at this point
Copy the full SHA 719c40cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25883aa - Browse repository at this point
Copy the full SHA 25883aaView commit details
Commits on Sep 19, 2020
-
Record
tcx.def_span
instead ofitem.span
in crate metadataThis was missed in PR rust-lang#75465. As a result, a few places have been using the full body span of functions, instead of just the header span.
Configuration menu - View commit details
-
Copy full SHA for 0d0a3e1 - Browse repository at this point
Copy the full SHA 0d0a3e1View commit details -
Rollup merge of rust-lang#76799 - Mark-Simulacrum:fix-cross-compile-d…
…ist, r=alexcrichton Fix cross compiling dist/build invocations I am uncertain why the first commit is not affecting CI. I suspect it's because we pass --disable-docs on most of our cross-compilation builders. The second commit doesn't affect CI because CI runs x.py dist, not x.py build. Both commits are standalone; together they should resolve rust-lang#76733. The first commit doesn't really fix that issue but rather just fixes cross-compiled x.py dist, resolving a bug introduced in rust-lang#76549.
Configuration menu - View commit details
-
Copy full SHA for ca47be8 - Browse repository at this point
Copy the full SHA ca47be8View commit details -
Rollup merge of rust-lang#76800 - jyn514:usage, r=Mark-Simulacrum
Don't generate bootstrap usage unless it's needed Previously, `x.py` would unconditionally run `x.py build` to get the help message. After rust-lang#76165, when checking the CI stage was moved into `Config`, that would cause an assertion failure (but only only in CI!): ``` thread 'main' panicked at 'assertion failed: `(left == right)` left: `1`, right: `2`', src/bootstrap/config.rs:619:49 ``` This changes bootstrap to only generate a help message when it needs to (when someone passes `--help`). r? @Mark-Simulacrum This should fix the CI failures in rust-lang#76797 and rust-lang#75991.
Configuration menu - View commit details
-
Copy full SHA for 0a2a7b5 - Browse repository at this point
Copy the full SHA 0a2a7b5View commit details -
Rollup merge of rust-lang#76806 - jethrogb:jb/update-llvm, r=cuviper
Update LLVM This (partially?) addresses rust-lang#74632 r? @cuviper
Configuration menu - View commit details
-
Copy full SHA for 9dd5eeb - Browse repository at this point
Copy the full SHA 9dd5eebView commit details -
Rollup merge of rust-lang#76807 - ecstatic-morse:const-checking-stage…
…d-api, r=oli-obk Use const-checking to forbid use of unstable features in const-stable functions First step towards rust-lang#76618. Currently this code isn't ever hit because `qualify_min_const_fn` runs first and catches pretty much everything. One exception is `const_precise_live_drops`, which does not use the newly added code since it runs as part of a separate pass. Also contains some unrelated refactoring, which is split into separate commits. r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for d58ee82 - Browse repository at this point
Copy the full SHA d58ee82View commit details -
Rollup merge of rust-lang#76828 - matthiaskrgr:clippy_manual_strip, r…
…=lcnr use strip_prefix over starts_with and manual slicing based on pattern length (clippy::manual_strip)
Configuration menu - View commit details
-
Copy full SHA for c20e2e2 - Browse repository at this point
Copy the full SHA c20e2e2View commit details -
Rollup merge of rust-lang#76832 - khyperia:backend_target_override, r…
…=eddyb Let backends define custom targets Add a target_override hook that takes priority over builtin targets.
Configuration menu - View commit details
-
Copy full SHA for 0660bc0 - Browse repository at this point
Copy the full SHA 0660bc0View commit details -
Rollup merge of rust-lang#76840 - poliorcetics:intra-doc-core-sync-an…
…d-future, r=jyn514 Move to intra doc links in core/src/future Helps with rust-lang#75080. @rustbot modify labels: T-doc A-intra-doc-links r? @jyn514
Configuration menu - View commit details
-
Copy full SHA for 8274258 - Browse repository at this point
Copy the full SHA 8274258View commit details -
Rollup merge of rust-lang#76845 - Amjad50:fix-intra-docs-links, r=jyn514
Use intra docs links in core::{ascii, option, str, pattern, hash::map} Partial fix for rust-lang#75080 @rustbot modify labels: T-doc A-intra-doc-links r? @jyn514
Configuration menu - View commit details
-
Copy full SHA for f4958c9 - Browse repository at this point
Copy the full SHA f4958c9View commit details -
Rollup merge of rust-lang#76846 - botika:master, r=davidtwco
Avoiding unnecesary allocations at rustc_errors Simplify the code avoiding allocations with easy alternative
Configuration menu - View commit details
-
Copy full SHA for d77f264 - Browse repository at this point
Copy the full SHA d77f264View commit details -
Rollup merge of rust-lang#76848 - RalfJung:miri, r=RalfJung
update Miri Let's get rust-lang/miri#1540 shipped. Cc @rust-lang/miri r? @ghost
Configuration menu - View commit details
-
Copy full SHA for acc37f3 - Browse repository at this point
Copy the full SHA acc37f3View commit details -
Rollup merge of rust-lang#76853 - denisvasilik:intra-doc-links-core-w…
…ake, r=jyn514 Use intra-doc links in library/core/src/task/wake.rs Helps with rust-lang#75080. @rustbot modify labels: T-doc, A-intra-doc-links
Configuration menu - View commit details
-
Copy full SHA for 18cc1b0 - Browse repository at this point
Copy the full SHA 18cc1b0View commit details -
Rollup merge of rust-lang#76864 - est31:downloaded_llvm_no_clone_sour…
…ces, r=Mark-Simulacrum Don't download/sync llvm-project submodule if download-ci-llvm is set llvm-project takes > 1GB storage space and a long time to download. It's better to not download it unless needed.
Configuration menu - View commit details
-
Copy full SHA for 558be8b - Browse repository at this point
Copy the full SHA 558be8bView commit details -
Rollup merge of rust-lang#76866 - est31:master, r=lcnr
Remove unused feature gates from library/ crates Removes some unused feature gates from library crates. It's likely not a complete list as I only tested a subset for which it's more likely that it is unused.
Configuration menu - View commit details
-
Copy full SHA for b173c62 - Browse repository at this point
Copy the full SHA b173c62View commit details -
Rollup merge of rust-lang#76871 - RalfJung:miri-panic-abort, r=dtolnay
support panic=abort in Miri This is needed for rust-lang/miri#1058 on Windows: we cannot run the inline-assembly versions of `abort`, so fall back to the intrinsic (which Miri supports).
Configuration menu - View commit details
-
Copy full SHA for 6144a3e - Browse repository at this point
Copy the full SHA 6144a3eView commit details -
Rollup merge of rust-lang#76872 - khyperia:remove_declare_methods, r=…
…eddyb Remove DeclareMethods Most of the `DeclareMethods` API was only used internally by rustc_codegen_llvm. As such, it makes no sense to require other backends to implement them. (`get_declared_value` and `declare_cfn` were used, in one place, specific to the `main` symbol, which I've replaced with a more specialized function to allow more flexibility in implementation - the intent is that `declare_c_main` can go away once we do something more clever, e.g. @eddyb has ideas around having a MIR shim or somesuch we can explore in a follow-up PR)
Configuration menu - View commit details
-
Copy full SHA for d89d8a1 - Browse repository at this point
Copy the full SHA d89d8a1View commit details -
Rollup merge of rust-lang#76875 - denisvasilik:intra-doc-links-alloc-…
…binary-heap, r=jyn514 Move to intra-doc links in library/alloc/src/collections/binary_heap.rs Helps with rust-lang#75080. @rustbot modify labels: T-doc, A-intra-doc-links
Configuration menu - View commit details
-
Copy full SHA for 2f58ec2 - Browse repository at this point
Copy the full SHA 2f58ec2View commit details -
Rollup merge of rust-lang#76878 - pietroalbini:version, r=Mark-Simula…
…crum Move the version number to a plaintext file The Rust version number is currently embedded in bootstrap's source code, which makes it hard to update it automatically or access it outside of ./x.py (as you'd have to parse the source code). This PR moves the version number to a standalone plaintext file, which makes accessing or updating it trivial. r? @Mark-Simulacrum
Configuration menu - View commit details
-
Copy full SHA for a47d593 - Browse repository at this point
Copy the full SHA a47d593View commit details -
Rollup merge of rust-lang#76881 - hameerabbasi:issue-53325, r=oli-obk
Add allocation information to undefined behaviour errors. So far I'm looking on information on whether the error messages are suitable. Fixes rust-lang#53325.
Configuration menu - View commit details
-
Copy full SHA for 7ff0ad1 - Browse repository at this point
Copy the full SHA 7ff0ad1View commit details -
Rollup merge of rust-lang#76898 - Aaron1011:fix/item-def-span, r=oli-obk
Record `tcx.def_span` instead of `item.span` in crate metadata This was missed in PR rust-lang#75465. As a result, a few places have been using the full body span of functions, instead of just the header span.
Configuration menu - View commit details
-
Copy full SHA for 0a2a7fb - Browse repository at this point
Copy the full SHA 0a2a7fbView commit details