| Age | Commit message (Collapse) | Author | Lines |
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
(My hypothesis is that my use of this flag was an overly conservative
generalization of PR 67020.)
|
|
|
|
|
|
|
|
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.)
|
|
Namely, a regression test for issue #69798 (export added), and the inverse of
that test (export removd).
|
|
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
|
|
Co-Authored-By: Mateusz Mikuła <mati865@users.noreply.github.com>
|
|
|
|
|
|
|
|
It was accidentally merged with the wrong version.
|
|
|
|
|
|
This option is now stable thus our cargo will reject it
Fixes #69975
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
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.
|
|
Add note about localization to std::fmt docs
Closes #69681
|
|
clean up E0393 explanation
r? @Dylan-DPC
|
|
Check if output is immediate value
Fixes #62046
r? @nagisa
|
|
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
|
|
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
|
|
Make PlaceRef take just one lifetime
r? @eddyb
|
|
rustc_metadata: Give decoder access to whole crate store
Pre-requisite for https://github.com/rust-lang/rust/pull/68941.
r? @eddyb
|
|
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
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Adds borrowck tests for the following features:
- bindings_after_at
- or_patterns
- slice_patterns
- box_patterns
|
|
Add more regression tests
Closes #54239
Closes #57200
Closes #57201
Closes #60473
Closes #64620
Closes #67166
r? @Centril
|
|
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
|
|
librustc_codegen_llvm: Use slices in preference to 0-terminated strings
Additionally whenever possible match C API provided by the LLVM.
|
|
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
|