-
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
Implement the unsafe-fields RFC. #132915
Implement the unsafe-fields RFC. #132915
Conversation
Some changes occurred in src/tools/rustfmt cc @rust-lang/rustfmt |
This comment has been minimized.
This comment has been minimized.
4cbe0ee
to
2cda185
Compare
Changes to the size of AST and/or HIR nodes. cc @nnethercote |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for implementing this! Here's a first round of comments. :-)
This comment has been minimized.
This comment has been minimized.
2cda185
to
e83abf1
Compare
This comment has been minimized.
This comment has been minimized.
e83abf1
to
d25841e
Compare
This comment has been minimized.
This comment has been minimized.
d25841e
to
6a5fbe3
Compare
ff9aee3
to
db32d80
Compare
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Draft implementation of unsafe-fields. RFC: rust-lang/rfcs#3458 Tracking: - rust-lang#132922 r? jswrenn
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (ce25ffa): comparison URL. Overall result: ❌✅ regressions and improvements - 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 is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)Results (primary -0.7%)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.
CyclesResults (secondary 1.7%)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.
Binary sizeResults (primary 0.2%, secondary 0.3%)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.
Bootstrap: 787.726s -> 783.8s (-0.50%) |
The UI testing checklist I'd like to see completed before we merge this:
|
3a0a424
to
b5d31a4
Compare
☔ The latest upstream changes (presumably #133280) made this pull request unmergeable. Please resolve the merge conflicts. |
b5d31a4
to
94e9d7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking pretty good. Be sure to update the commit message, too! It's no longer a draft implementation — it's just an implementation. :-)
94e9d7e
to
0ddfeb9
Compare
This comment has been minimized.
This comment has been minimized.
0ddfeb9
to
d796143
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks okay. I've got some minor comments about style and code deduplication.
d796143
to
32c1c02
Compare
Co-Authored-By: Jacob Pratt <[email protected]>
32c1c02
to
9022bb2
Compare
@bors r+ |
⌛ Testing commit 9022bb2 with merge 6e1c11591fc7e98015f8e793a15c8faf0bda67f1... |
☀️ Test successful - checks-actions |
Finished benchmarking commit (6e1c115): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)Results (primary 0.8%, secondary -2.4%)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.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeResults (primary 0.2%, secondary 0.3%)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.
Bootstrap: 797.021s -> 795.784s (-0.16%) |
RFC: rust-lang/rfcs#3458
Tracking:
r? jswrenn