-
Notifications
You must be signed in to change notification settings - Fork 14k
use minicore for more tests #147812
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
use minicore for more tests #147812
Conversation
|
Some changes occurred in tests/ui/sanitizer cc @rcvalle |
|
|
This comment has been minimized.
This comment has been minimized.
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, test changes themselves look good
|
So do you have an idea what we could do about those minicore build failures? |
|
(Sorry, it's not a full review yet, I'm still looking, I just got distracted by something else IRL 😆) |
Hm, forwarding seems a bit strange, I would've expected |
d989202 to
879be28
Compare
The
Yeah I just found that, it's not exactly very documented. The result looks a bit strange but it works. :) |
879be28 to
6303864
Compare
This comment has been minimized.
This comment has been minimized.
|
I took a closer look -- as is tradition, this is a bit of a mess in
I would say that we probably should not be forwarding compiler flags in the general case (... or provide an opt-out to stop that behavior), because yeah with something like target features, it's not exactly obvious or easy to disable... |
| // We need to *disable* the feature again for minicore as otherwise that will fail to build. | ||
| //@[riscv] core-stubs-compile-flags: -Ctarget-feature=-d |
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.
Remark: but yeah, this is a sensible workaround in the mean time
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.
Feel free to // FIXME(#147881): ... for these cases, the workarounds are fine for this PR tho
We need |
6303864 to
eb1c62b
Compare
|
@bors r=jieyouxu
|
|
☀️ 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 4ddbb60 (parent) -> f04e3df (this PR) Test differencesShow 2 test diffs2 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard f04e3dfc87d7e2b6ad53e7a52253812cd62eba50 --output-dir test-dashboardAnd 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 (f04e3df): comparison URL. Overall result: ❌ regressions - 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)This benchmark run did not return any relevant results for this metric. CyclesResults (secondary -2.2%)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: 471.841s -> 473.871s (0.43%) |
r? @jieyouxu
Unfortunately this doesn't work for all tests; minicore sometimes fails to build with errors like
and
These errors are meant to be triggered in the tests, but not in minicore.
It seems like all
@compile-flagsare forwarded to minicore. Maybe we should exclude-Ctarget-featurefrom that? Or provide some way to set flags only for the current file, not minicore?