summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
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-1/+1
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-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-17update tool maintainersPietro Albini-1/+1
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-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-8/+8
2020-04-06Use TypeRelating for instantiating query responsesMatthew Jasper-7/+111
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-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-21Beta: Update cargo, clippyEric Huss-9/+8
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-11bump rustfmt to include fix for failing testsPietro Albini-8/+0
2020-03-10promote beta 1.43.0Pietro Albini-6/+6
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
2020-03-09Vec::new is const tstable in 1.39 not 1.32Christopher Durham-1/+1
2020-03-09Add note about localization to std::fmt docsDylan Nugent-0/+15
2020-03-09Add a comment to `recover`.John Kåre Alsaker-0/+6
2020-03-09Remove the `no_force` query attributeJohn Kåre Alsaker-54/+0
2020-03-09Remove the need for `no_force`John Kåre Alsaker-153/+148
2020-03-09Move `analysis` to the query macroJohn Kåre Alsaker-30/+7
2020-03-09test(patterns): add borrowck tests for combination of pattern featuresMatthew Kuo-0/+432
Adds borrowck tests for the following features: - bindings_after_at - or_patterns - slice_patterns - box_patterns
2020-03-09Rollup merge of #69842 - JohnTitor:more-tests, r=CentrilMazdak Farrokhzad-0/+131
Add more regression tests Closes #54239 Closes #57200 Closes #57201 Closes #60473 Closes #64620 Closes #67166 r? @Centril
2020-03-09Rollup merge of #69801 - petrochenkov:nonorm, r=CentrilMazdak Farrokhzad-191/+200
rustc_parse: Remove `Parser::normalized(_prev)_token` Perform the "normalization" (renamed to "uninterpolation") on the fly when necessary. The final part of https://github.com/rust-lang/rust/pull/69579 https://github.com/rust-lang/rust/pull/69384 https://github.com/rust-lang/rust/pull/69376 https://github.com/rust-lang/rust/pull/69211 https://github.com/rust-lang/rust/pull/69034 https://github.com/rust-lang/rust/pull/69006. r? @Centril
2020-03-09Rollup merge of #69779 - tmiasko:di-cstr, r=nagisaMazdak Farrokhzad-189/+265
librustc_codegen_llvm: Use slices in preference to 0-terminated strings Additionally whenever possible match C API provided by the LLVM.
2020-03-09Rollup merge of #69762 - RalfJung:validity-errors, r=oli-obkMazdak Farrokhzad-94/+167
Ensure that validity only raises validity errors For now, only as a debug-assertion (similar to const-prop detecting errors that allocate). Now includes https://github.com/rust-lang/rust/pull/69646. [Relative diff](https://github.com/RalfJung/rust/compare/layout-visitor...RalfJung:validity-errors). r? @oli-obk