Skip to content

libc error #236

Description

@sammy-ette

after following the getting started guide and just making a new project cargo 3ds new and trying to build it gives me this error:

$ cargo 3ds build
   Compiling std v0.0.0 (/home/sammyette/.local/share/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std)
error[E0425]: cannot find value `_SC_HOST_NAME_MAX` in crate `libc`
 --> /home/sammyette/.local/share/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/hostname/unix.rs:8:60
  |
8 | ...nf(libc::_SC_HOST_NAME_MAX) } {
  |             ^^^^^^^^^^^^^^^^^ not found in `libc`

For more information about this error, try `rustc --explain E0425`.
error: could not compile `std` (lib) due to 1 previous error

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions