-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 4 pull requests #118543
Rollup of 4 pull requests #118543
Conversation
- Retrieve `FnSig`. - Implement CrateDef for InstanceDef. - Add VTable index for Virtual instances.
Signed-off-by: onur-ozkan <[email protected]>
rustc_hir_typeck: Fix ICE when probing for non-ASCII function alternative Closes rust-lang#118499 Apparently triggered by rust-lang#118381
Add more information to StableMIR Instance Allow stable MIR users to retrieve an instance function signature, the index for a VTable instance and more information about its underlying definition. These are needed to properly interpret function calls, either via VTable or direct calls. The `CrateDef` implementation will also allow users to emit diagnostic messages. I also fixed a few issues that we had identified before with how we were retrieving body of things that may not have a body available.
…ubby789 replace `once_cell::sync::OnceCell` with std `OnceLock` > https://github.com/rust-lang/rust/blob/0919ad18381f6f4fcaddc809e786553e028bbde0/src/bootstrap/src/core/builder.rs#L28-L33 Partially resolves that.
move packed-struct tests into packed/ folder We already have a bunch of other tests named `packed/packed-struct*`, no reason to have these two tests be separate.
@bors r+ rollup=never p=4 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR:
previous master: 4e3dc976e7 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (0908f17): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis 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.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 673.421s -> 670.8s (-0.39%) |
Successful merges:
once_cell::sync::OnceCell
with stdOnceLock
#118528 (replaceonce_cell::sync::OnceCell
with stdOnceLock
)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup