-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add StaticForeignItem and use it on ForeignItemKind #124524
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
Conversation
cabf10d
to
9aba1e9
Compare
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
…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`
This comment has been minimized.
This comment has been minimized.
9aba1e9
to
7c10939
Compare
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
This comment has been minimized.
This comment has been minimized.
7c10939
to
329e0dd
Compare
Some changes occurred in src/tools/rustfmt cc @rust-lang/rustfmt |
This comment has been minimized.
This comment has been minimized.
329e0dd
to
81debc1
Compare
Changes to the size of AST and/or HIR nodes. cc @nnethercote |
This comment has been minimized.
This comment has been minimized.
81debc1
to
f06e0f7
Compare
r=me after perf is happy |
@rust-timer build 13c65c9 |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (13c65c9): comparison URL. Overall result: no relevant changes - no action neededBenchmarking 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 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: 671.855s -> 673.206s (0.20%) |
@bors r=oli-obk |
@bors rollup |
…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
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`
…-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`
…-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`
This is in preparation for unsafe extern blocks that adds a safe variant for functions inside extern blocks.
r? @oli-obk
cc @compiler-errors