-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Rework target checking for built-in attributes #145085
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
66feb37
to
a1c6f2a
Compare
This comment has been minimized.
This comment has been minimized.
a1c6f2a
to
df39f8d
Compare
|
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. This PR modifies Some changes occurred in compiler/rustc_attr_parsing Some changes occurred in compiler/rustc_passes/src/check_attr.rs |
This comment has been minimized.
This comment has been minimized.
df39f8d
to
c1958d7
Compare
This comment has been minimized.
This comment has been minimized.
c1958d7
to
166a734
Compare
This PR changes a file inside |
166a734
to
85f8262
Compare
This comment has been minimized.
This comment has been minimized.
85f8262
to
dcd4b10
Compare
This comment has been minimized.
This comment has been minimized.
dcd4b10
to
dd87861
Compare
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Jonathan Brouwer <[email protected]>
4ded0e3
to
4bb7bf6
Compare
Rebased & fixed the PR. I also specified the targets for the |
@bors r+ p=5 |
(prio because a lot of PRs keep making this outdated so I want it to go before the next rollup which inevitably is created. don't put attribute related PRs in the next rollup, it will have conflicts!) |
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing be00ea1 (parent) -> 898aff7 (this PR) Test differencesShow 352 test diffsStage 1
(and 238 additional test diffs) Additionally, 14 doctest diffs were found. These are ignored, as they are noisy. Job group index
Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 898aff704d6f0d00343f21d31b8b9bfac8e43007 --output-dir test-dashboard And then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
Finished benchmarking commit (898aff7): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression 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 10.6%, secondary 2.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.7%, secondary -3.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (secondary 0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 471.131s -> 470.516s (-0.13%) |
Yayy :3 |
This is a refactoring of target checking for built-in attributes.
This PR has the following goals:
#[repr]
will be in a future PR. Tho I have written the code in such a way that this will be possible to add in the future.Fixes #143780
Fixes #138510
I've split it in commits and left a description on some of the commits to help review.
r? @jdonszelmann