-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Can this replace/deprecate mach
?
#13
Comments
I asked @fitzgen on fitzgen/mach#63 (comment) and Twitter but they just ignored me :( I guess they aren't interested in the If you have a good idea, let me know! I'm happy to help things as long as I can :) |
We could submit a rustsec unmaintained notice: https://github.com/rustsec/advisory-db/blob/main/HOWTO_UNMAINTAINED.md. If it has any badly incorrect definitions (like wrong function sigs or struct layouts), a stronger advisory would be warranted. Concerning, a lot of code still uses So, it's worth considering if any of the issues it has are worth an advisory. Looking at my diff (which is mostly irrelevant), the most changes I made that were most concerning are:
Of these 1 and 3 are the only really bad ones (and maybe 2), and even 1 may be mostly ABI compatible (although I honestly dunno what happens if you call these with weird types since they aren't quite normal C functions). 3 is pretty bad though, if people don't notice. Either way, I guess either 1 or 3 would be enough for most -sys crates to get a real advisory. Let's wait to see if we hear from @fitzgen though, since they might prefer we not do that while they're the maintainer (since it tends to cause a flood of issues, at least if there's no fix available). Did you see anything else that's wrong in the updates you made for |
I haven't maintained |
No, I've passively-maintained this crate for the libc crate and most contributions are made by other contributors.
As I mentioned in fitzgen/mach#63 (comment), @gnzlbg is now out of contact and they haven't maintained any crates, including libc, ctest, mach, etc. That's why I mentioned you initially. Even if you don't maintain it anymore, you still have access to the repo and crates.io, and you could deprecate the crate (open an issue on rustsec advisory) or transfer the ownership. |
Let's say this can replace/deprecate mach, actually the rustsec advisory shows this as an alternative. |
Oh! I had no idea this existed, that's great. It's probably worth asking @fitzgen if they'd be willing to deprecate
mach
existing one in favor of this (or transfer ownership).Last week I noticed how bad
mach
was, and took a stab at cleaning it up and updating it (I figured I'd have to publish it as a new version, so I didn't keep changes minimal and used newcore::ffi
stuff, etc), but I never quite got around to finishing. Had I known about this crate, I wouldn't have bothered with any of that!I think nobody should be using that one, a low level crate like that can't really go unmaintained, and I don't know that everything it has is fully right (several constants changed, and structures seemed wrong for aarch64 macos). So we should see if we can make this more widely known, at the very least.
The text was updated successfully, but these errors were encountered: