-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Port #![crate_type] to the attribute parser
#151442
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
Conversation
|
Some changes occurred in compiler/rustc_passes/src/check_attr.rs cc @jdonszelmann, @JonathanBrouwer Some changes occurred in compiler/rustc_hir/src/attrs cc @jdonszelmann, @JonathanBrouwer Some changes occurred in compiler/rustc_attr_parsing |
|
r? @nnethercote rustbot has assigned @nnethercote. Use |
1ff8b8f to
f0083c9
Compare
This comment has been minimized.
This comment has been minimized.
f0083c9 to
04efeb1
Compare
|
r? me |
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.
Some minor questions, looks good otherwise :)
|
Reminder, once the PR becomes ready for a review, use |
This comment has been minimized.
This comment has been minimized.
6bd6665 to
1c820c0
Compare
This comment has been minimized.
This comment has been minimized.
b3fc62c to
cdb3c17
Compare
|
@rustbot ready |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (d813a87): comparison URL. Overall result: ❌ regressions - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 1.4%, secondary 1.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 2.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 470.203s -> 471.246s (0.22%) |
|
Looks like noise - @bors r=JonathanBrouwer |
This comment has been minimized.
This comment has been minimized.
21f97f0 to
877a608
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
877a608 to
e73dfaa
Compare
|
@bors r=JonathanBrouwer |
|
@bors rollup=always |
…hanBrouwer Port `#![crate_type]` to the attribute parser Tracking issue: rust-lang#131229 ~~Note that the actual parsing that is used in the compiler session is unchanged, as it must happen very early on; this just ports the validation logic.~~ Also added `// tidy-alphabetical-start` to `check_attr.rs` to make it a bit less conflict-prone
Rollup merge of #151442 - clubby789:crate-type-port, r=JonathanBrouwer Port `#![crate_type]` to the attribute parser Tracking issue: #131229 ~~Note that the actual parsing that is used in the compiler session is unchanged, as it must happen very early on; this just ports the validation logic.~~ Also added `// tidy-alphabetical-start` to `check_attr.rs` to make it a bit less conflict-prone
Tracking issue: #131229
Note that the actual parsing that is used in the compiler session is unchanged, as it must happen very early on; this just ports the validation logic.Also added
// tidy-alphabetical-starttocheck_attr.rsto make it a bit less conflict-prone