Skip to content
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

sockaddr_in does not have this field (Rust 1.81 on Linux) #62

Open
tgsmith61591 opened this issue Nov 19, 2024 · 0 comments
Open

sockaddr_in does not have this field (Rust 1.81 on Linux) #62

tgsmith61591 opened this issue Nov 19, 2024 · 0 comments

Comments

@tgsmith61591
Copy link

I am getting the following build error from system_configuration v0.6.1 when building on Linux:

ERROR: /root/.cache/bazel/_bazel_root/f1dda70852d9c97abf4f8f9fda6b2822/external/rules_rust~~crate~crates_index__system-configuration-0.6.1/BUILD.bazel:16:13: Compiling Rust rlib system_configuration v0.6.1 (7 files) failed: (Exit 1): process_wrapper failed: error executing Rustc command (from target @@rules_rust~~crate~crates_index__system-configuration-0.6.1//:system_configuration) bazel-out/aarch64-opt-exec-ST-d57f47055a04/bin/external/rules_rust~/util/process_wrapper/process_wrapper --arg-file ... (remaining 34 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
error[E0560]: struct `sockaddr_in` has no field named `sin_len`
   --> external/rules_rust~~crate~crates_index__system-configuration-0.6.1/src/network_reachability.rs:351:13
    |
351 |             sin_len: std::mem::size_of::<libc::sockaddr_in>() as u8,
    |             ^^^^^^^ `sockaddr_in` does not have this field
    |
    = note: all struct fields are already assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant