Skip to content
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

Add StaticForeignItem and use it on ForeignItemKind #124524

Merged
merged 1 commit into from Apr 30, 2024

Conversation

spastorino
Copy link
Member

This is in preparation for unsafe extern blocks that adds a safe variant for functions inside extern blocks.

r? @oli-obk
cc @compiler-errors

@rustbot rustbot 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. labels Apr 29, 2024
@spastorino spastorino force-pushed the make-foreign-static-use-struct branch from cabf10d to 9aba1e9 Compare April 29, 2024 14:43
@spastorino
Copy link
Member Author

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Apr 29, 2024
@bors
Copy link
Contributor

bors commented Apr 29, 2024

⌛ Trying commit 9aba1e9 with merge 13c65c9...

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 29, 2024
…truct, r=<try>

Add StaticForeignItem and use it on ForeignItemKind

This is in preparation for unsafe extern blocks that adds a safe variant for functions inside extern blocks.

r? `@oli-obk`
cc `@compiler-errors`
@rust-log-analyzer

This comment has been minimized.

@spastorino spastorino force-pushed the make-foreign-static-use-struct branch from 9aba1e9 to 7c10939 Compare April 29, 2024 15:00
@rustbot
Copy link
Collaborator

rustbot commented Apr 29, 2024

Some changes occurred in src/tools/clippy

cc @rust-lang/clippy

@rust-log-analyzer

This comment has been minimized.

@spastorino spastorino force-pushed the make-foreign-static-use-struct branch from 7c10939 to 329e0dd Compare April 29, 2024 15:23
@rustbot
Copy link
Collaborator

rustbot commented Apr 29, 2024

Some changes occurred in src/tools/rustfmt

cc @rust-lang/rustfmt

@rust-log-analyzer

This comment has been minimized.

@spastorino spastorino force-pushed the make-foreign-static-use-struct branch from 329e0dd to 81debc1 Compare April 29, 2024 15:54
@rustbot
Copy link
Collaborator

rustbot commented Apr 29, 2024

Changes to the size of AST and/or HIR nodes.

cc @nnethercote

@rust-log-analyzer

This comment has been minimized.

@spastorino spastorino force-pushed the make-foreign-static-use-struct branch from 81debc1 to f06e0f7 Compare April 29, 2024 16:16
@oli-obk
Copy link
Contributor

oli-obk commented Apr 29, 2024

r=me after perf is happy

@oli-obk
Copy link
Contributor

oli-obk commented Apr 29, 2024

@rust-timer build 13c65c9

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (13c65c9): comparison URL.

Overall result: no relevant changes - no action needed

Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf.

@bors rollup=never
@rustbot label: -S-waiting-on-perf -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

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.

mean range count
Regressions ❌
(primary)
4.5% [4.5%, 4.5%] 1
Regressions ❌
(secondary)
3.3% [3.3%, 3.3%] 1
Improvements ✅
(primary)
-2.0% [-3.9%, -0.1%] 4
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) -0.7% [-3.9%, 4.5%] 5

Cycles

This benchmark run did not return any relevant results for this metric.

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 671.855s -> 673.206s (0.20%)
Artifact size: 315.98 MiB -> 315.99 MiB (0.01%)

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Apr 29, 2024
@spastorino
Copy link
Member Author

@bors r=oli-obk

@bors
Copy link
Contributor

bors commented Apr 29, 2024

📌 Commit f06e0f7 has been approved by oli-obk

It is now in the queue for this repository.

@bors bors removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 29, 2024
@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Apr 29, 2024
@spastorino
Copy link
Member Author

@bors rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 30, 2024
…iaskrgr

Rollup of 4 pull requests

Successful merges:

 - rust-lang#124519 (adapt a codegen test for llvm 19)
 - rust-lang#124524 (Add StaticForeignItem and use it on ForeignItemKind)
 - rust-lang#124540 (Give proof tree visitors the ability to instantiate nested goals directly)
 - rust-lang#124543 (codegen tests: Tolerate `range()` qualifications in enum tests)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit ea3d99e into rust-lang:master Apr 30, 2024
10 checks passed
@rustbot rustbot added this to the 1.80.0 milestone Apr 30, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Apr 30, 2024
Rollup merge of rust-lang#124524 - spastorino:make-foreign-static-use-struct, r=oli-obk

Add StaticForeignItem and use it on ForeignItemKind

This is in preparation for unsafe extern blocks that adds a safe variant for functions inside extern blocks.

r? `@oli-obk`
cc `@compiler-errors`
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 2, 2024
…-struct, r=oli-obk

Add StaticForeignItem and use it on ForeignItemKind

This is in preparation for unsafe extern blocks that adds a safe variant for functions inside extern blocks.

r? `@oli-obk`
cc `@compiler-errors`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants