library: std: fs: skip tests on Hermit - #153294
Conversation
The tests make use of symlinks, which are not currently supported on Hermit.
|
r? @joboet rustbot has assigned @joboet. Use Why was this reviewer chosen?The reviewer was selected based on:
|
| #[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; |
There was a problem hiding this comment.
It would be good to have a comment about why they're skipped
|
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 |
That sounds reasonable. I'll update the PR to do that. |
|
Yeah, I'd prefer that. @rustbot author |
|
Reminder, once the PR becomes ready for a review, use |
|
☔ The latest upstream changes (presumably #160725) made this pull request unmergeable. Please resolve the merge conflicts by rebasing. |
The tests make use of symlinks, which are not currently supported on Hermit.