Skip to content

Rollup of 9 pull requests - #104246

Merged
bors merged 27 commits into
rust-lang:masterfrom
Manishearth:rollup-9o3txc7
Nov 10, 2022
Merged

Rollup of 9 pull requests#104246
bors merged 27 commits into
rust-lang:masterfrom
Manishearth:rollup-9o3txc7

Conversation

@Manishearth

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

zhaixiaojuanand others added 27 commits September 17, 2022 18:00
On arm, llvm treats the C calling convention as `aapcs` on soft-float
targets and `aapcs-vfp` on hard-float targets [1]. UEFI specifies in the
arm calling convention that floating point extensions aren't used [2],
so always translate `efiapi` to `aapcs` on arm.
[1]: rust-lang/compiler-builtins#116 (comment)
[2]: https://uefi.org/specs/UEFI/2.10/02_Overview.html#detailed-calling-conventionrust-lang#65815
…wesleywiser
Use `TraitEngine` in more places, restrict visibility of `FulfillmentCtxt` constructor
Most places that are constructing a `FulfillmentContext` should be constructing a `TraitEngine` generically, so later on if/when we're transitioning it'll be easier.
Logical extension of rust-lang#99746
…rochenkov
Suggest `is_some` when we've found `Option` but expected `bool`
Thanks `@lunasorcery` for the suggestion.
…-dead
Make `Hash`, `Hasher` and `BuildHasher` `#[const_trait]` and make `Sip` const `Hasher`
This PR enables using Hashes in const context.
r? ``@fee1-dead``
…r=nagisa
Use aapcs for efiapi calling convention on arm
On arm, [llvm treats the C calling convention as `aapcs` on soft-float targets and `aapcs-vfp` on hard-float targets](rust-lang/compiler-builtins#116 (comment)). UEFI specifies in the arm calling convention that [floating point extensions aren't used](https://uefi.org/specs/UEFI/2.10/02_Overview.html#detailed-calling-convention), so always translate `efiapi` to `aapcs` on arm.
rust-lang#65815
…inding-issue, r=oli-obk
Tighten the 'introduce new binding' suggestion
Fixesrust-lang#104086
Don't ICE when encountering `ConstKind::Error` in `RequiredConstsVisitor`
Fixesrust-lang#104209
…i-obk
Use `const_error_with_guaranteed` more
Better to pass down an ErrorGuaranteed rather than making a new one out of thin air, for some usages. Also for the ones where we *do* need to delay a bug, that delayed bug will have a more descriptive message.
@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Nov 10, 2022
@rustbotrustbot added the rollup A PR which is a rollup label Nov 10, 2022
@Manishearth

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=5 rollup=never

@bors

bors commented Nov 10, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit ea56e80 has been approved by Manishearth

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 10, 2022
@bors

bors commented Nov 10, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit ea56e80 with merge a3c0a02...

@bors

bors commented Nov 10, 2022

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: Manishearth
Pushing a3c0a02 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Nov 10, 2022
@bors
bors merged commit a3c0a02 into rust-lang:masterNov 10, 2022
@rustbotrustbot added this to the 1.67.0 milestone Nov 10, 2022
@rust-timer

Copy link
Copy Markdown
Collaborator

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (a3c0a02): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-0.7%[-0.8%, -0.6%]3
Improvements ✅
(secondary)
-0.5%[-0.6%, -0.3%]4
All ❌✅ (primary)-0.7%[-0.8%, -0.6%]3

Max RSS (memory usage)

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

meanrangecount
Regressions ❌
(primary)
3.2%[3.2%, 3.2%]1
Regressions ❌
(secondary)
5.6%[1.6%, 9.0%]3
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-2.3%[-2.3%, -2.2%]3
All ❌✅ (primary)3.2%[3.2%, 3.2%]1

Cycles

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.6%[2.3%, 3.0%]4
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)--0

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@Manishearth@bors@rust-timer@rustbot@zhaixiaojuan@onestacked@nicholasbishop@chenyukang@BoxyUwU@compiler-errors