Repository navigation
Conversation
|
Any special-casing of Miri in the standard library requires review. cc @rust-lang/miri |
|
|
|
@bors try |
This comment has been minimized.
This comment has been minimized.
std: use skip_missing_miri_shims to control when tests should be skipped in Miri due to missing shims try-job: test-x86_64-gnu-aux
43cd0c6 to
ce7f68a
Compare
|
I'm pretty okay with this, @rust-lang/libs-ping any thoughts? See the Zulip discussion linked in the top post for context |
ce7f68a to
4d659d1
Compare
This comment has been minimized.
This comment has been minimized.
4d659d1 to
f08ee20
Compare
| /// Converts a `BorrowedFd` into a reference to a file-like type. | ||
| /// | ||
| #[cfg_attr(all(unix, not(miri)), doc = "```")] | ||
| #[cfg_attr(unix, doc = "```")] |
This comment has been minimized.
This comment has been minimized.
f08ee20 to
5439f19
Compare
5439f19 to
3aee2ea
Compare
This comment has been minimized.
This comment has been minimized.
3aee2ea to
573f710
Compare
This comment has been minimized.
This comment has been minimized.
It's been a week -- seems like nobody has major concerns? |
573f710 to
11aad14
Compare
11aad14 to
81bd738
Compare
This comment has been minimized.
This comment has been minimized.
|
I added Windows-specific cfg as well so we can continue testing a good part of std under Windows. |
This comment has been minimized.
This comment has been minimized.
std: use skip_missing_miri_shims to control when tests should be skipped in Miri due to missing shims try-job: test-x86_64-gnu-aux
81bd738 to
1009d49
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. |
|
And with the latest Miri update, the tests in |
This comment has been minimized.
This comment has been minimized.
std: use skip_missing_miri_shims to control when tests should be skipped in Miri due to missing shims try-job: test-x86_64-gnu-aux
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
Strange, I ran these out-of-tree... but maybe that did not run the benchmarks. Let's leave the kernel_copy stuff to a future PR. |
1009d49 to
2fea62f
Compare
|
Ah no I figured out what's happening... the test assumes that a single |
|
@bors try |
|
⌛ Trying commit 79e05f8 with merge 008a6fd… To cancel the try build, run the command Workflow: https://github.com/rust-lang/rust/actions/runs/42419319262 |
std: use skip_missing_miri_shims to control when tests should be skipped in Miri due to missing shims try-job: test-x86_64-gnu-aux
View all comments
See prior discussion on Zulip.
Docs PR: rust-lang/std-dev-guide#86
Entirely remove testing on Windows, there is just too much we don't support there.
Also don't run std doc tests any more as there is no way to disable all doctests in a module, and marking every single test is too tedious IMO.
r? @tgross35
try-job: test-x86_64-gnu-aux