-
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 5 pull requests #130519
Rollup of 5 pull requests #130519
Commits on Sep 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6daf40e - Browse repository at this point
Copy the full SHA 6daf40eView commit details
Commits on Sep 17, 2024
-
Adjust supertrait of
ArgAbiMethods
.It only needs `Self::Value` and `Self::Type`, so it can be a subtrait of `BackendTypes`. That is a smaller and simpler trait than `HasCodegen` (which includes `BackendTypes` and a lot more).
Configuration menu - View commit details
-
Copy full SHA for 47830ed - Browse repository at this point
Copy the full SHA 47830edView commit details -
Merge
HasCodegen
intoBuilderMethods
.It has `Backend` and `Deref` boudns, plus an associated type `CodegenCx`, and it has a single use. This commit "inlines" it into `BuilderMethods`, which makes the complicated backend trait situation a little simpler.
Configuration menu - View commit details
-
Copy full SHA for 5f98943 - Browse repository at this point
Copy the full SHA 5f98943View commit details -
It's a trait that aggregates five other traits. But consider the places that use it. - `BuilderMethods`: requires three of the five traits. - `CodegenMethods`: requires zero(!) of the five traits. - `BaseTypeMethods`: requires two of the five traits. - `LayoutTypeMethods`: requires three of the five traits. - `TypeMembershipMethods`: requires one of the five traits. This commit just removes it, which makes everything simpler.
Configuration menu - View commit details
-
Copy full SHA for 928d8e6 - Browse repository at this point
Copy the full SHA 928d8e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a35b5c - Browse repository at this point
Copy the full SHA 6a35b5cView commit details -
Rename
{ArgAbi,IntrinsicCall}Methods
.They both are part of `BuilderMethods`, and so should have `Builder` in their name like all the other traits in `BuilderMethods`.
Configuration menu - View commit details
-
Copy full SHA for 410a2de - Browse repository at this point
Copy the full SHA 410a2deView commit details -
Remove unneeded bounds from
CodegenMethods
andBuilderMethods
.Some of these are pulled in indirectly, e.g. `MiscMethods` via `TypeMethods`.
Configuration menu - View commit details
-
Copy full SHA for 108f8c8 - Browse repository at this point
Copy the full SHA 108f8c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85a4d2a - Browse repository at this point
Copy the full SHA 85a4d2aView commit details -
Move some supertraits outward.
Specifically, put them where they are genuinely required, i.e. the outermost place they can be.
Configuration menu - View commit details
-
Copy full SHA for 540fcc6 - Browse repository at this point
Copy the full SHA 540fcc6View commit details -
Rename supertraits of
CodegenMethods
.Supertraits of `BuilderMethods` are all called `XyzBuilderMethods`. Supertraits of `CodegenMethods` are all called `XyzMethods`. This commit changes the latter to `XyzCodegenMethods`, for consistency.
Configuration menu - View commit details
-
Copy full SHA for a8d22eb - Browse repository at this point
Copy the full SHA a8d22ebView commit details -
Use associative type defaults in
{Layout,FnAbi}OfHelpers
.This avoids some repetitive boilerplate code.
Configuration menu - View commit details
-
Copy full SHA for acb832d - Browse repository at this point
Copy the full SHA acb832dView commit details -
Add zlib to musl dist image so rust-lld will support zlib compression…
… for debug info there. Fixes rust-lang#130063.
Configuration menu - View commit details
-
Copy full SHA for 930db09 - Browse repository at this point
Copy the full SHA 930db09View commit details
Commits on Sep 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 89f04c2 - Browse repository at this point
Copy the full SHA 89f04c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a35288 - Browse repository at this point
Copy the full SHA 3a35288View commit details -
doc: the source of
LetStmt
can also beAssignDesugar
For example, the two following statements are desugared into a block whose `LetStmt` source is `AssignDesugar`: ```rust _ = ignoring_some_result(); (a, b) = (b, a); ```
Configuration menu - View commit details
-
Copy full SHA for a47e9b6 - Browse repository at this point
Copy the full SHA a47e9b6View commit details -
Rollup merge of rust-lang#130457 - nnethercote:cleanup-codegen-traits…
…, r=bjorn3 Cleanup codegen traits The traits governing codegen are quite complicated and hard to follow. This PR cleans them up a bit. r? `@bjorn3`
Configuration menu - View commit details
-
Copy full SHA for 21313d7 - Browse repository at this point
Copy the full SHA 21313d7View commit details -
Rollup merge of rust-lang#130471 - khuey:zlib-musl, r=Kobzol
Add zlib to musl dist image so rust-lld will support zlib compression for debug info there. Fixes rust-lang#130063. r? `@Kobzol`
Configuration menu - View commit details
-
Copy full SHA for 3443795 - Browse repository at this point
Copy the full SHA 3443795View commit details -
Rollup merge of rust-lang#130507 - Urgau:check-cfg-raw-keywords, r=ji…
…eyouxu Improve handling of raw-idents in check-cfg This PR improves the handling of raw-idents in the check-cfg diagnostics. In particular the list of expected names and the suggestion now correctly take into account the "keyword-ness" of the ident, and correctly prefix the ident with `r#` when necessary. `@rustbot` labels +F-check-cfg
Configuration menu - View commit details
-
Copy full SHA for 00c4be3 - Browse repository at this point
Copy the full SHA 00c4be3View commit details -
Rollup merge of rust-lang#130509 - krasimirgg:llvm-20-2, r=nikic
llvm-wrapper: adapt for LLVM API changes, second try This is a re-work of rust-lang#129749 after LLVM brought back the APIs used by rust. No functional changes intended. `@rustbot` label: +llvm-main r? `@nikic` cc: `@tmandry`
Configuration menu - View commit details
-
Copy full SHA for 48b90aa - Browse repository at this point
Copy the full SHA 48b90aaView commit details -
Rollup merge of rust-lang#130510 - samueltardieu:doc-letstmt-assign-d…
…esugar, r=compiler-errors doc: the source of `LetStmt` can also be `AssignDesugar` For example, the two following statements are desugared into a block whose `LetStmt` source is `AssignDesugar`: ```rust _ = ignoring_some_result(); (a, b) = (b, a); ```
Configuration menu - View commit details
-
Copy full SHA for c0951bb - Browse repository at this point
Copy the full SHA c0951bbView commit details