-
Notifications
You must be signed in to change notification settings - Fork 435
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
c_void Libc::unix conflicts with core::ffi #274
Comments
Sovled. Compiling
Hope this helps somehow. |
Hi @Sythanis !
I've tried to add flags that you've mentioned in
Do you have any thoughts or ideas how to fix it? |
@sholokhov and anyone else also wondering: it seems those flags need to be passed to libc. This worked for me:
|
Using rules_rust it seems, that
libc::unix::c_void
conflicts withcore::ffi::c_void
type. This used to be the case but according to this the rfc was merged where libc re-exports core::ffi types from November 2018.I am seeing this problem trying to compile libbacktrace which is a transient dependency for tonic crate. I am seeing the following errors
Any ideas if this is a known behavior of rules_rust?
The text was updated successfully, but these errors were encountered: