-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Blacklist powerpc-unknown-linux-{gnu,musl} as having non-ignored GNU C ZSTs. #69263
Conversation
This comment has been minimized.
This comment has been minimized.
e1a8c31
to
b030280
Compare
This comment has been minimized.
This comment has been minimized.
r? @nikomatsakis or @pnkfelix |
This does not close #64259, as it does not solve the original issue. I found the bug on A sparc64 port of musl is in progress, and this PR won't fix that target either. So while this PR does slightly improve the situation, #64259 (or a rebased version of it) still needs to be open to fix the bug on non-glibc targets that use the same ABI: Linux/musl, NetBSD, and OpenBSD. |
For the record, this PR was updated to include Also, it might be more productive to open an issue about generalizing our blacklisting here to include all affected targets (we need a predicate for "platform C compiler supports GNU extensions" which might be "everything except MSVC" for all supported targets). We should probably also have linted against passing ZSTs by value, since AFAICT it's not even compatible between empty Oh also do we even handle returning ZSTs correctly, on the affected platforms? (EDIT: oh, that's #65111 (comment)) |
The truth is I don't really feel like the right person to review this -- @eddyb maybe you? |
I suggested this approach, so I'd rather not unilaterally approve it, maybe @nagisa or @hanna-kruppe? |
@bors r+ |
📌 Commit 162d727 has been approved by |
Edited the original comment to remove |
Blacklist powerpc-unknown-linux-{gnu,musl} as having non-ignored GNU C ZSTs. Ref rust-lang#64259 (this is a simpler alternative to that). See also rust-lang#64259 (comment).
☀️ Test successful - checks-azure |
Ref #64259 (this is a simpler alternative to that). See also #64259 (comment).