-
Notifications
You must be signed in to change notification settings - Fork 13.9k
add multi-arch asm! label operand test #143227
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
don't know how r? @Amanieu maybe |
tests/ui/asm/label-operand.rs
Outdated
@@ -0,0 +1,47 @@ | |||
//@ run-pass | |||
//@ needs-asm-support |
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 going to fail on targets that aren't x86, arm or risc-v. Either add a fallback or split this into separate tests that are only enabled for that particular architecture.
1633: [1.88] add test: inline assembly label operand r=Hoverbear a=tshepang Backports rust-lang/rust#143227 as we need it for satisfying traceability matrix. Co-authored-by: Tshepang Mbambo <hopsi@tuta.io>
@tshepang any updates on this? thanks |
let me do this within a week |
Others in the file skip the module name
46f857f
to
3b703ea
Compare
Some changes occurred in src/tools/compiletest cc @jieyouxu |
This PR was rebased onto a different master 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. |
@rustbot ready |
tests/ui/asm/label-operand.rs
Outdated
} | ||
|
||
// fallback | ||
#[cfg(other)] |
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 isn't needed any more, just don't execute any revision at all if none of the needs-* predicates match.
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.
would this mean the test will fail if another arch gets support for inline assembly
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.
If you just remove other
from the list of revisions at the top of the file then this test simply won't execute for any architectures other than the ones listed.
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.
oh, that I did not expect... thought other archs would still run main and fail due to missing fn make_true
3b703ea
to
c7d180c
Compare
@bors ready |
@bors r+ |
☀️ 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 61efd19 (parent) -> bd34871 (this PR) Test differencesShow 20 test diffsStage 1
Stage 2
Additionally, 2 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 bd3487101ff9397ca8a54dd83aa360d93342b82e --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 (bd34871): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (primary -1.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -2.0%)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: 473.034s -> 474.495s (0.31%) |
Added this since the other label operand tests are only for x86