You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0432]: unresolved import libc::__error
--> /home/vmuser/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/getrandom-0.1.13/src/util_libc.rs:22:13
|
22 | use libc::__error as errno_location;
| ^^^^^^-------^^^^^^^^^^^^^^^^^^
| | |
| | help: a similar name exists in the module: ferror
| no __error in the root
error: aborting due to previous error
For more information about this error, try rustc --explain E0432.
error: Could not compile getrandom.
The text was updated successfully, but these errors were encountered:
I was able to reproduce this with cargo xbuild --target x86_64-unknown-dragonfly. For context, we attempted to get errno working correctly on DragonFlyBSD via rust-lang/libc#1432 but that only allows it to work when libc is a dep of libstd. The is because:
DragonflyBSD (unlike every other UNIX target) uses a thread-local static variable directly for its errono (as opposed to going through a helper method like __error or _errno_locaiton.
error[E0432]: unresolved import
libc::__error
--> /home/vmuser/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/getrandom-0.1.13/src/util_libc.rs:22:13
|
22 | use libc::__error as errno_location;
| ^^^^^^-------^^^^^^^^^^^^^^^^^^
| | |
| | help: a similar name exists in the module:
ferror
| no
__error
in the rooterror: aborting due to previous error
For more information about this error, try
rustc --explain E0432
.error: Could not compile
getrandom
.The text was updated successfully, but these errors were encountered: