-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Fix compile issue in Vita libstd #150297
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
Fix compile issue in Vita libstd #150297
Conversation
Unfortunately it looks like the Vita libc does not support the "utimensat" function, which is needed for setting file times. To fix the build, this commit marks Vita as unsupported for the function that sets the file times. Signed-off-by: John Nunley <dev@notgull.net>
|
Maybe CC @nikarh @pheki @zetanumbers |
|
It looks like Vita's newlib supports |
It looks like Hermit and Vita have some issues in stdlib that are causing our checks to fail. Omit these targets from CI until they are fixed. Ref: rust-lang/rust#150297 Ref: rust-lang/rust#150294 Signed-off-by: John Nunley <dev@notgull.net>
|
Actually, I'm not sure? I'll defer to the target maintainers here. |
|
TYSM for the PR! We've been tracking it on this issue: #147437
I couldn't find an implementation
I think it's reasonable to treat it as unsupported as it is currently unsupported by the target's libc, even if it's technically possible using the OS API, in a similar fashion to Redox, that could be improved to support I agree that contributing to vita's newlib with I also don't want to continue blocking existing users and use-cases based on upstream support for a new feature. What do you think? |
|
Fair enough! Then let's merge this. |
Fix compile issue in Vita libstd Unfortunately it looks like the Vita libc does not support the "utimensat" function, which is needed for setting file times. To fix the build, this commit marks Vita as unsupported for the function that sets the file times.
|
Confirming that I don't have the bandwidth at this point to contribute to the Vita newlib. |
Rollup merge of #150297 - forkgull:notgull/vita, r=joboet Fix compile issue in Vita libstd Unfortunately it looks like the Vita libc does not support the "utimensat" function, which is needed for setting file times. To fix the build, this commit marks Vita as unsupported for the function that sets the file times.
…uwer Rollup of 3 pull requests Successful merges: - rust-lang/rust#150141 (Misc cleanups from reading some borrowck code) - rust-lang/rust#150297 (Fix compile issue in Vita libstd) - rust-lang/rust#150341 (Fix some divergences with the cg_clif subtree) r? `@ghost` `@rustbot` modify labels: rollup
Unfortunately it looks like the Vita libc does not support
the "utimensat" function, which is needed for setting file times.
To fix the build, this commit marks Vita as unsupported for the
function that sets the file times.