-
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 8 pull requests #70348
Rollup of 8 pull requests #70348
Commits on Mar 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b90edfc - Browse repository at this point
Copy the full SHA b90edfcView commit details
Commits on Mar 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c54ce49 - Browse repository at this point
Copy the full SHA c54ce49View commit details
Commits on Mar 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d8448d2 - Browse repository at this point
Copy the full SHA d8448d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40f73e7 - Browse repository at this point
Copy the full SHA 40f73e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78c178b - Browse repository at this point
Copy the full SHA 78c178bView commit details
Commits on Mar 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4f40511 - Browse repository at this point
Copy the full SHA 4f40511View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61d3be8 - Browse repository at this point
Copy the full SHA 61d3be8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 645fedd - Browse repository at this point
Copy the full SHA 645feddView commit details -
I find the code easier to read if the values in `config` are all used directly, rather than a mix of `config` values and local variables. It will also faciliate some of the following commits. Also, use `config.bitcode_needed()` in one place.
Configuration menu - View commit details
-
Copy full SHA for d156bf6 - Browse repository at this point
Copy the full SHA d156bf6View commit details -
Combine
ModuleConfig::embed_bitcode{,_marker}
.Because the `(true, true)` combination isn't valid.
Configuration menu - View commit details
-
Copy full SHA for 47c8f3f - Browse repository at this point
Copy the full SHA 47c8f3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4b36ba - Browse repository at this point
Copy the full SHA e4b36baView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8261b4 - Browse repository at this point
Copy the full SHA f8261b4View commit details -
Introduce a local variable
config_emit_normal_obj
.This adds a missing `!config.obj_is_bitcode` condition to two places that should have it. As a result, when `obj_is_bitcode` and `no_integrated_as` are both true, the compiler will no longer unnecessarily emit asm, convert it to an object file, and then overwrite that object file with bitcode.
Configuration menu - View commit details
-
Copy full SHA for a147cd0 - Browse repository at this point
Copy the full SHA a147cd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca0f997 - Browse repository at this point
Copy the full SHA ca0f997View commit details
Commits on Mar 23, 2020
-
Store idents for
DefPathData
into crate metadataPreviously, we threw away the `Span` associated with a definition's identifier when we encoded crate metadata, causing us to lose location and hygiene information. We now store the identifier's `Span` in the crate metadata. When we decode items from the metadata, we combine the name and span back into an `Ident`. This improves the output of several tests, which previously had messages suppressed due to dummy spans. This is a prerequisite for rust-lang#68686, since throwing away a `Span` means that we lose hygiene information.
Configuration menu - View commit details
-
Copy full SHA for 96e2d03 - Browse repository at this point
Copy the full SHA 96e2d03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86b8dea - Browse repository at this point
Copy the full SHA 86b8deaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a7106c - Browse repository at this point
Copy the full SHA 6a7106cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a17c4c - Browse repository at this point
Copy the full SHA 0a17c4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8f0a64 - Browse repository at this point
Copy the full SHA e8f0a64View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7c2fa1 - Browse repository at this point
Copy the full SHA c7c2fa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ebc72f - Browse repository at this point
Copy the full SHA 9ebc72fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47a84f2 - Browse repository at this point
Copy the full SHA 47a84f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1df7641 - Browse repository at this point
Copy the full SHA 1df7641View commit details
Commits on Mar 24, 2020
-
Rollup merge of rust-lang#68884 - Zoxc:gen-type, r=nikomatsakis
Make the `type_of` return a generic type for generators Fixes rust-lang#67651. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 3ef1dd3 - Browse repository at this point
Copy the full SHA 3ef1dd3View commit details -
Rollup merge of rust-lang#69788 - ArekPiekarz:unstable_book_optin_bui…
…ltin_traits, r=Dylan-DPC Fix sequence of Type and Trait in optin-builtin-traits in Unstable Book A simple fix in docs - the sequence of words in basic example of negative trait implementation was reversed.
Configuration menu - View commit details
-
Copy full SHA for 4c313c7 - Browse repository at this point
Copy the full SHA 4c313c7View commit details -
Rollup merge of rust-lang#70015 - jonas-schievink:gen-needs-drop, r=m…
…atthewjasper Make `needs_drop` less pessimistic on generators Generators only have non-trivial drop logic when they may store (in upvars or across yields) a type that does. This prevents generation of some unnecessary MIR in simple generators. There might be some impact on compile times, but this is probably limited in real-world applications. ~~This builds off of rust-lang#69814 since that contains some fixes that are made relevant by *this* PR (see rust-lang#69814 (comment) (this has been merged)
Configuration menu - View commit details
-
Copy full SHA for 7df8bba - Browse repository at this point
Copy the full SHA 7df8bbaView commit details -
Rollup merge of rust-lang#70077 - Aaron1011:feature/new-def-path-iden…
…t, r=petrochenkov Store idents for `DefPathData` into crate metadata Previously, we threw away the `Span` associated with a definition's identifier when we encoded crate metadata, causing us to lose location and hygiene information. We now store the identifier's `Span` in a side table, which gets encoded into the crate metadata. When we decode items from the metadata, we combine the name and span back into an `Ident`. This improves the output of several tests, which previously had messages suppressed due to dummy spans. This is a prerequisite for rust-lang#68686, since throwing away a `Span` means that we lose hygiene information.
Configuration menu - View commit details
-
Copy full SHA for dd8ef75 - Browse repository at this point
Copy the full SHA dd8ef75View commit details -
Rollup merge of rust-lang#70213 - eddyb:stalled-on-ty-or-const, r=nik…
…omatsakis traits/fulfill: allow `stalled_on` to track `ty::Const::Infer(_)` (unused yet). This PR addresses the representation side of rust-lang#70180, but only *actually collects* `ty::Infer`s via `Ty::walk` into `stalled_on` (collecting `ty::ConstKind::Infer`s requires rust-lang#70164). However, it should be enough to handle rust-lang#70107's needs (WF obligations are stalled only on the outermost type/const being an inference variable, no `walk`-ing is involved). This is my second attempt, see rust-lang#70181 for the previous one, which unacceptably regressed perf. r? @nikomatsakis cc @nnethercote
Configuration menu - View commit details
-
Copy full SHA for a62fd3a - Browse repository at this point
Copy the full SHA a62fd3aView commit details -
Rollup merge of rust-lang#70259 - wesleywiser:use_reveal_all, r=eddyb
Use Reveal::All in MIR optimizations Resolves some code review feedback in rust-lang#67662. Fixes rust-lang#68855 r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for b306b1e - Browse repository at this point
Copy the full SHA b306b1eView commit details -
Rollup merge of rust-lang#70284 - lcnr:issue70273-what-the-heck-git, …
…r=eddyb correctly handle const params in type_of extends rust-lang#70223, retry of rust-lang#70276 fixes rust-lang#70273 r? @eddyb cc @varkor
Configuration menu - View commit details
-
Copy full SHA for a813cf9 - Browse repository at this point
Copy the full SHA a813cf9View commit details -
Rollup merge of rust-lang#70289 - nnethercote:refactor-codegen, r=eddyb
Refactor `codegen` `codegen` in `src/librustc_codegen_llvm/back/write.rs` is long and has complex control flow. These commits refactor it and make it easier to understand.
Configuration menu - View commit details
-
Copy full SHA for 6e587a4 - Browse repository at this point
Copy the full SHA 6e587a4View commit details