-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fails to compile - error[E0599]: no method named si_status
found for struct siginfo_t
#4
Comments
Linking termux/termux-packages#6432 for visibility. 🔗 |
Ok, I'm definitely asking a stupid question: https://docs.rs/libc/0.2.88/libc/struct.siginfo_t.html#method.si_status 🤦 Time for some more digging... |
Ok, I got it. 🎉 Termux build used
OFC, after I removed the manual version override it used latest
And if I actually went and check out Finally, because it isn't |
Hi @vladimyr 👋 Sorry for the delayed response.
It's reasonable for you to assume it would be a field. The maintainers want it to be a field too. That it's not is surprising when you first look at the code.
Don't worry. It's great that you were able to find a quick resolution.
I generally don't increase the minimum version for platform support, because a crate may need to rely on an older version for some reason. However, I will consider doing this once some time has passed. Is this something that would help you currently?
I'm happy to help. I prefer my projects to support as many systems as feasible. |
Thank you for answering my questions/stream of thoughts 👍 🙃
Actually on the Starship end issue has been fully resolved by locking
People might be unaware of how tedious and challenging it can be sometimes so kudos for (keep) doing that! 💯 |
Thanks for the kind words. 😊
Great to hear! Please reach out if you have any more trouble. |
Hi, @dylni 👋
unfortunately, those boring Starship folks are back again to report some more issues 🙃
This time
v3.0.1
failed to compile insidetermux/package-builder
docker image (https://github.com/termux/termux-packages/blob/master/scripts/Dockerfile) which is used for cross-compiling Termux packages:https://github.com/termux/termux-packages/runs/1944936544
I believe the environment itself isn't problematic but the way how
si_status
gets retrieved. Maybe I'm reading this completely wrong and at risk of asking something totally stupid: is it accidentally invoked instead of just being accessed? 🤔https://github.com/dylni/process_control/blob/3.0.1/src/unix.rs#L171
signal.h
manpage sayssi_status
should be declared as anint
struct member:and compilation ends with following error:
Once again, thank you for all your patience and extensive help in dealing with BSDs, and thank you in advance for all the future help! 💯
The text was updated successfully, but these errors were encountered: