Skip to content

library: std: fs: skip tests on Hermit#153294

Open
Gelbpunkt wants to merge 1 commit intorust-lang:mainfrom
Gelbpunkt:skip-fs-tests-hermit
Open

library: std: fs: skip tests on Hermit#153294
Gelbpunkt wants to merge 1 commit intorust-lang:mainfrom
Gelbpunkt:skip-fs-tests-hermit

Conversation

@Gelbpunkt
Copy link
Contributor

The tests make use of symlinks, which are not currently supported on Hermit.

The tests make use of symlinks, which are not currently supported on
Hermit.
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Mar 2, 2026
@rustbot
Copy link
Collaborator

rustbot commented Mar 2, 2026

r? @joboet

rustbot has assigned @joboet.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ChrisDenton, libs
  • @ChrisDenton, libs expanded to 8 candidates
  • Random selection from Mark-Simulacrum, joboet

Comment on lines 32 to 43
#[cfg(all(
test,
not(any(
target_os = "emscripten",
target_os = "wasi",
target_env = "sgx",
target_os = "xous",
target_os = "trusty",
target_os = "hermit",
))
))]
mod tests;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to have a comment about why they're skipped

@tgross35
Copy link
Contributor

tgross35 commented Mar 4, 2026

If symlinks are a problem but everything else works, could only the relevant tests be skipped? Or moved into an inline module to make that easier.

Cc target maintainers @stlankes @mkroening

@Gelbpunkt
Copy link
Contributor Author

Or moved into an inline module to make that easier.

That sounds reasonable. I'll update the PR to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants