-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
Error in obtaining time on ‘arm-unknown-linux-musleabihf’ platform #115921
Comments
Is there any chance you can run the executable with |
|
rust/library/std/src/sys/unix/time.rs Line 420 in df99bc1
'unwrap' should not be used |
|
This is how I solve this problem.If there were no panic, it wouldn't be so troublesome.This is also a problem with rust robustness
|
This is the syscall number for Looks like musl switched over to 64bit times a while ago, so you'd have to build musl without the redirection to the 64bit syscalls. |
Sorry, I didn't understand what you meant. Can you explain how to do it more specifically |
The 'date' command can obtain the time
|
I think what you're replying to here is an abstract suggestion, not something anyone actually expects you to try. Personally I'm not even sure if it's correct to say that musl's 64-bit time change has dropped support for old Linux kernels (you are using an old kernel). Musl documents on https://wiki.musl-libc.org/supported-platforms:
So if the 64-bit time switch made that statement wrong, the musl docs need to be changed, and we also need to document that our musl targets don't support Linux kernels before |
rustc --version --verbose
:build
os
The text was updated successfully, but these errors were encountered: