summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2020-05-04Auto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini 1.43.1bors-8/+27
[stable] 1.43.1 release * [Updated openssl-src to 1.1.1g for CVE-2020-1967.][71430] * [Fixed the stabilization of AVX-512 features.][71473] * [Fixed `cargo package --list` not working with unpublished dependencies.][cargo/8151] [71430]: https://github.com/rust-lang/rust/pull/71430 [71473]: https://github.com/rust-lang/rust/issues/71473 [cargo/8151]: https://github.com/rust-lang/cargo/issues/8151
2020-05-04Allow the llvm_asm! shim to go unused on some archsJosh Stone-0/+1
2020-05-04fetch cloudabi packages from our own mirrorPietro Albini-1/+2
The upstream archive went down due to an expired certificate, so I mirrored the whole thing on our mirrors S3 bucket. This is safe, as the certificate just seemed to be expired and the contents of the APT archive are signed anyway.
2020-05-031.43.1 releaseJosh Stone-5/+17
2020-05-03Backport Cargo patch to fix rust-lang/cargo#8151 on stableMark Rousskov-0/+0
2020-05-01Add a shim from llvm_asm! to asm! for stdarchJosh Stone-0/+5
2020-05-01Update stdarch submoduleAmanieu d'Antras-0/+0
2020-05-01update openssl-src to 1.1.1gPietro Albini-2/+2
Fixes CVE-2020-1967.
2020-04-20Auto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum 1.43.0bors-11/+23
[stable] 1.43.0 release Includes a last minute backport of https://github.com/rust-lang/rust/pull/71267.
2020-04-20Expand comment to justify not checking if all the exports are green.Felix S. Klock II-0/+17
2020-04-20Issue #71248: attempt to recover perf by removing `exports_all_green` flag.Felix S. Klock II-10/+5
(My hypothesis is that my use of this flag was an overly conservative generalization of PR 67020.)
2020-04-201.43.0 releaseMark Rousskov-1/+1
2020-04-18Auto merge of #71258 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-27/+285
[beta] backports This includes: * Do not reuse post LTO products when exports change #71131 * macro_rules: `NtLifetime` cannot start with an identifier #70768 * Update RELEASES.md for 1.43.0 #70354 r? @ghost
2020-04-17update tool maintainersPietro Albini-1/+1
2020-04-17Cherry-pick master's release notesMark Rousskov-3/+149
2020-04-17macro_rules: `NtLifetime` cannot start with an identifierVadim Petrochenkov-1/+14
2020-04-17Incorporated review feedback:Felix S. Klock II-22/+40
Renamed the struct to make it a little clearer that it doesn't just hold one imports map. (I couldn't bring myself to write it as `ThinLTOImportsExports` though, mainly since the exports map is literally derived from the imports map data.) Added some doc to the struct too. Revised comments to add link to the newer issue that discusses why the exports are relevant. Renamed a few of the methods so that the two character difference is more apparent (because 1. the method name is shorter and, perhaps more importantly, the changed characters now lie at the beginning of the method name.)
2020-04-17Tests.Felix S. Klock II-0/+52
Namely, a regression test for issue #69798 (export added), and the inverse of that test (export removd).
2020-04-17If an LLVM module's exports change, cannot reuse its post-LTO object file inFelix S. Klock II-4/+33
incremental compilation. This is symmetric to PR #67020, which handled the case where the LLVM module's *imports* changed. This commit builds upon the infrastructure added there; the export map is just the inverse of the import map, so we can build the export map at the same time that we load the serialized import map. Fix #69798
2020-04-06Auto merge of #70848 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-19/+123
[beta] backports * Use TypeRelating for instantiating query responses #69591 * Move rustc-guide submodule to rustc-dev-guide #69898
2020-04-06Update src/tools/publish_toolstate.pyIgor Matuszewski-1/+1
Co-Authored-By: Mateusz Mikuła <mati865@users.noreply.github.com>
2020-04-06Move rustc-guide submodule to rustc-dev-guideSantiago Pastorino-12/+12
2020-04-06Use TypeRelating for instantiating query responsesMatthew Jasper-7/+111
2020-04-03Auto merge of #70742 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-113/+234
[beta] backport 4 PRs This backports the following PRs: * parse_and_disallow_postfix_after_cast: account for `ExprKind::Err`. #70556 * Account for bad placeholder types in where clauses #70294 * Fix "since" field for `Once::is_complete`'s `#[stable]` attribute #70018 * Ensure HAS_FREE_LOCAL_NAMES is set for ReFree #69956 All commits cherry picked cleanly.
2020-04-03Ensure HAS_FREE_LOCAL_NAMES is set for ReFreeMatthew Jasper-26/+29
2020-04-03Fix "since" field for `Once::is_complete`'s `#[stable]` attributeLukas Kalbertodt-1/+1
It was accidentally merged with the wrong version.
2020-04-03Account for bad placeholder types in where clausesEsteban Küber-86/+192
2020-04-03parse_and_disallow_postfix_after_cast: account for `ExprKind::Err`.Mazdak Farrokhzad-0/+12
2020-03-25Auto merge of #70320 - Keruspe:1.43.0-rebuild, r=Mark-Simulacrumbors-1/+5
[beta] 1.43: don't pass -Zconfig-profile to cargo when self rebuilding This option is now stable thus our cargo will reject it Fixes #69975
2020-03-23rustbuild: only pass -Zconfig-profile if we're not self bootstrapingMarc-Antoine Perennou-1/+5
This option is now stable thus our cargo will reject it Fixes #69975 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-03-22Auto merge of #70244 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-29/+74
[beta] backport rollup This backports: * can_begin_literal_maybe_minus: `true` on `"-"? lit` NTs. #70058 * ci: use python from the correct path #70116 * Update stdarch submodule #70151 (superseding and closing #70221) * Beta: Update cargo, clippy #70105 (also closing that beta-targeted PR) It also switches the bootstrap compiler to download from static.rust-lang.org from dev-static.rust-lang.org.
2020-03-21Beta: Update cargo, clippyEric Huss-16/+14
2020-03-21Use a non-dev-static toolchainMark Rousskov-2/+2
2020-03-21can_begin_literal_maybe_minus: `true` on `"-"? lit` NTs.Mazdak Farrokhzad-9/+55
2020-03-21ci: use python from the correct pathPietro Albini-2/+3
Apparently the old path we were using for Python 2 on Windows was not documented, and eventually got removed. This switches our CI to use the correct path.
2020-03-21Update stdarch submoduleAmanieu d'Antras-0/+0
2020-03-11Auto merge of #69886 - pietroalbini:beta-next, r=pietroalbinibors-14/+6
[beta] Promote 1.43.0 to beta This time pointing to the right branch.
2020-03-11bump rustfmt to include fix for failing testsPietro Albini-8/+0
2020-03-10promote beta 1.43.0Pietro Albini-6/+6
2020-03-10Auto merge of #69879 - Centril:rollup-ryea91j, r=Centrilbors-886/+925
Rollup of 10 pull requests Successful merges: - #69475 (Remove the `no_force` query attribute) - #69514 (Remove spotlight) - #69677 (rustc_metadata: Give decoder access to whole crate store) - #69714 (Make PlaceRef take just one lifetime) - #69799 (Allow ZSTs in `AllocRef`) - #69817 (test(patterns): add patterns feature tests to borrowck test suite) - #69836 (Check if output is immediate value) - #69847 (clean up E0393 explanation) - #69861 (Add note about localization to std::fmt docs) - #69877 (Vec::new is const stable in 1.39 not 1.32) Failed merges: r? @ghost
2020-03-10Rollup merge of #69877 - CAD97:patch-1, r=dtolnayMazdak Farrokhzad-1/+1
Vec::new is const stable in 1.39 not 1.32 Changelog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1390-2019-11-07 This really surprised me when a MSRV check for 1.35 failed with `Vec::new is not yet stable as a const fn` and the docs said that it was const stabilized in 1.32.
2020-03-10Rollup merge of #69861 - Dylnuge:dylnuge/locale-doc, r=Mark-SimulacrumMazdak Farrokhzad-0/+15
Add note about localization to std::fmt docs Closes #69681
2020-03-10Rollup merge of #69847 - GuillaumeGomez:cleanup-e0393, r=Dylan-DPCMazdak Farrokhzad-1/+2
clean up E0393 explanation r? @Dylan-DPC
2020-03-10Rollup merge of #69836 - JohnTitor:immediate-outputs, r=nagisaMazdak Farrokhzad-2/+30
Check if output is immediate value Fixes #62046 r? @nagisa
2020-03-10Rollup merge of #69817 - thekuom:test/borrow-checking-pattern-features, ↵Mazdak Farrokhzad-0/+432
r=Centril test(patterns): add patterns feature tests to borrowck test suite Addresses request here: https://github.com/rust-lang/rust/pull/69690#issuecomment-595763571 Fixes https://github.com/rust-lang/rust/issues/67311. r? @Centril
2020-03-10Rollup merge of #69799 - TimDiekmann:zst, r=AmanieuMazdak Farrokhzad-81/+96
Allow ZSTs in `AllocRef` Allows ZSTs in all `AllocRef` methods. The implementation of `AllocRef` for `Global` and `System` were adjusted to reflect those changes. This is the second item on the roadmap to support ZSTs in `AllocRef`: https://github.com/rust-lang/wg-allocators/issues/38#issuecomment-595861542 After this has landed, I will adapt `RawVec`, but since this will be a pretty big overhaul, it makes sense to do a different PR for it. ~~Requires #69794 to land first~~ r? @Amanieu
2020-03-10Rollup merge of #69714 - spastorino:place-ref-lifetime, r=oli-obkMazdak Farrokhzad-57/+55
Make PlaceRef take just one lifetime r? @eddyb
2020-03-10Rollup merge of #69677 - petrochenkov:spancode, r=eddybMazdak Farrokhzad-107/+126
rustc_metadata: Give decoder access to whole crate store Pre-requisite for https://github.com/rust-lang/rust/pull/68941. r? @eddyb
2020-03-10Rollup merge of #69514 - GuillaumeGomez:remove-spotlight, r=kinnisonMazdak Farrokhzad-400/+7
Remove spotlight I had a few comments saying that this feature was at best misunderstood or not even used so I decided to organize a poll about on [twitter](https://twitter.com/imperioworld_/status/1232769353503956994). After 87 votes, the result is very clear: it's not useful. Considering the amount of code we have just to run it, I think it's definitely worth it to remove it. r? @kinnison cc @ollie27
2020-03-10Rollup merge of #69475 - Zoxc:no-no-force, r=michaelwoeristerMazdak Farrokhzad-237/+161
Remove the `no_force` query attribute This removes the `no_force` query attribute and instead uses the `DepNodeParams` trait to find out if a query can be forced. Also the `analysis` query is moved to the query macro. r? @eddyb