-
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 15 pull requests #76964
Rollup of 15 pull requests #76964
Commits on Sep 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 176956c - Browse repository at this point
Copy the full SHA 176956cView commit details -
Extract some intrinsics out of rustc_codegen_llvm
A significant amount of intrinsics do not actually need backend-specific behaviors to be implemented, instead relying on methods already in rustc_codegen_ssa. So, extract those methods out to rustc_codegen_ssa, so that each backend doesn't need to reimplement the same code.
Configuration menu - View commit details
-
Copy full SHA for 21b0c12 - Browse repository at this point
Copy the full SHA 21b0c12View commit details
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 -
Configuration menu - View commit details
-
Copy full SHA for 94dae60 - Browse repository at this point
Copy the full SHA 94dae60View commit details
Commits on Sep 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b7c8bea - Browse repository at this point
Copy the full SHA b7c8beaView commit details -
Don't compile regex at every function call.
Use `SyncOnceCell` to only compile it once. I believe this still adds some kind of locking mechanism?
Configuration menu - View commit details
-
Copy full SHA for f4a7149 - Browse repository at this point
Copy the full SHA f4a7149View commit details -
Remove intrinsics::arith_offset use from libarena
The use of arith_offset was added in 803e9ae before the stable wrapper of the intrinsic was available. https://doc.rust-lang.org/stable/std/intrinsics/fn.arith_offset.html
Configuration menu - View commit details
-
Copy full SHA for b479139 - Browse repository at this point
Copy the full SHA b479139View commit details -
Replace const_generics feature gate with min_const_generics
The latter is on the path to stabilization.
Configuration menu - View commit details
-
Copy full SHA for 4fe6ca3 - Browse repository at this point
Copy the full SHA 4fe6ca3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebdea01 - Browse repository at this point
Copy the full SHA ebdea01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f58e00 - Browse repository at this point
Copy the full SHA 5f58e00View commit details -
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 -
Configuration menu - View commit details
-
Copy full SHA for 764d307 - Browse repository at this point
Copy the full SHA 764d307View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dd3df6 - Browse repository at this point
Copy the full SHA 1dd3df6View 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 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
-
Apply suggestions from code review
Co-authored-by: Joshua Nelson <[email protected]>
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 0810c3e - Browse repository at this point
Copy the full SHA 0810c3eView commit details
Commits on Sep 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3435683 - Browse repository at this point
Copy the full SHA 3435683View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfb221b - Browse repository at this point
Copy the full SHA bfb221bView commit details -
Rollup merge of rust-lang#76722 - ssomers:btree_send_sync, r=Mark-Sim…
…ulacrum Test and fix Send and Sync traits of BTreeMap artefacts Fixes rust-lang#76686. I'm not quite sure what all this implies. E.g. comparing with the definitions for `NodeRef` in node.rs, maybe an extra bound `T: 'a` is useful for something. The test compiles on stable/beta (apart from `drain_filter`) so I bet `Sync` is equally desirable. r? @Mark-Simulacrum
Configuration menu - View commit details
-
Copy full SHA for f5e19a3 - Browse repository at this point
Copy the full SHA f5e19a3View commit details -
Rollup merge of rust-lang#76766 - khyperia:generic_intrinsics, r=eddyb
Extract some intrinsics out of rustc_codegen_llvm A significant amount of intrinsics do not actually need backend-specific behaviors to be implemented, instead relying on methods already in rustc_codegen_ssa. So, extract those methods out to rustc_codegen_ssa, so that each backend doesn't need to reimplement the same code. Almost everything should be a pretty direct translation. A notable not-direct-translation is `add_with_overflow` and friends being changed to `bx.checked_binop`, but it's pretty simple. I could have been a lot more aggressive here and pulled out way more methods, and add a few new methods in the rustc_codegen_ssa "API". However, because this is my second rustc PR, I thought that moving those to a follow-up PR and doing more incremental changes here would be better (and I guess ask if this work is even desired in the first place). I'm hoping to eventually remove the mess of intrinsic handling in the backend entirely, which would be hecking fantastic ✨
Configuration menu - View commit details
-
Copy full SHA for 2911b8c - Browse repository at this point
Copy the full SHA 2911b8cView 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 b603143 - Browse repository at this point
Copy the full SHA b603143View commit details -
Rollup merge of rust-lang#76809 - matthiaskrgr:simplify_cond, r=varkor
simplfy condition in ItemLowerer::with_trait_impl_ref()
Configuration menu - View commit details
-
Copy full SHA for 9b9192a - Browse repository at this point
Copy the full SHA 9b9192aView commit details -
Rollup merge of rust-lang#76815 - pickfire:patch-6, r=jonas-schievink
Fix wording in mir doc
Configuration menu - View commit details
-
Copy full SHA for c12feb3 - Browse repository at this point
Copy the full SHA c12feb3View commit details -
Rollup merge of rust-lang#76818 - hbina:dont_compile_regex_all_the_ti…
…me, r=ecstatic-morse Don't compile regex at every function call. Use `SyncOnceCell` to only compile it once. I believe this still adds some kind of locking mechanism? Related issue: rust-lang#76817
Configuration menu - View commit details
-
Copy full SHA for 3268e33 - Browse repository at this point
Copy the full SHA 3268e33View commit details -
Rollup merge of rust-lang#76821 - est31:remove_redundant_nightly_feat…
…ures, r=oli-obk,Mark-Simulacrum Remove redundant nightly features Removes a bunch of redundant/outdated nightly features. The first commit removes a `core_intrinsics` use for which a stable wrapper has been provided since. The second commit replaces the `const_generics` feature with `min_const_generics` which might get stabilized this year. The third commit is the result of a trial/error run of removing every single feature and then adding it back if compile failed. A bunch of unused features are the result that the third commit removes.
Configuration menu - View commit details
-
Copy full SHA for 4322e1b - Browse repository at this point
Copy the full SHA 4322e1bView commit details -
Rollup merge of rust-lang#76823 - RalfJung:black-box-warn, r=joshtrip…
…lett black_box: silence unused_mut warning when building with cfg(miri)
Configuration menu - View commit details
-
Copy full SHA for df4e4ef - Browse repository at this point
Copy the full SHA df4e4efView commit details -
Rollup merge of rust-lang#76825 - lcnr:array-windows-apply, r=varkor
use `array_windows` instead of `windows` in the compiler I do think these changes are beautiful, but do have to admit that using type inference for the window length can easily be confusing. This seems like a general issue with const generics, where inferring constants adds an additional complexity which users have to learn and keep in mind.
Configuration menu - View commit details
-
Copy full SHA for 50d56bc - Browse repository at this point
Copy the full SHA 50d56bcView commit details -
Rollup merge of rust-lang#76827 - lcnr:array_windows-docs, r=jonas-sc…
…hievink fix array_windows docs r? @Dylan-DPC
Configuration menu - View commit details
-
Copy full SHA for c124d43 - Browse repository at this point
Copy the full SHA c124d43View 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 bfa1904 - Browse repository at this point
Copy the full SHA bfa1904View 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 a815184 - Browse repository at this point
Copy the full SHA a815184View 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 6d0890e - Browse repository at this point
Copy the full SHA 6d0890eView 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 70f55a7 - Browse repository at this point
Copy the full SHA 70f55a7View 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 e5be14c - Browse repository at this point
Copy the full SHA e5be14cView commit details