-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
core dependency on c_int in memcmp #32610
Comments
It also takes a |
Neither of these are a practical issue (yet). crate libc does not support any other configuration than |
cc @brson |
The extern function is now in src/libcore/slice/mod.rs. |
What should we do next? Should we try to create a |
Hi, I believe this issue is causing array comparisons on the AVR architecture to break (see the linked issue, #78022). Is there any consensus on a path forward here? |
libcore/str/mod.rs uses
memcmp
, and declares it to return i32, in reality it returns c_int, so this is a potential portability concern.Maybe memcmp can be made an intrinsic to resolve this.
The text was updated successfully, but these errors were encountered: