Skip to content

Rust nightly doesn't build on armv7-sony-vita-newlibeabihf #147437

@Thomasdezeeuw

Description

@Thomasdezeeuw

Build error below. From https://github.com/rust-lang/socket2/actions/runs/18309085762/job/52133230573?pr=617#step:5:51

 error[E0425]: cannot find value `_SC_HOST_NAME_MAX` in crate `libc` --> /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/hostname/unix.rs:8:60 | 8 | let host_name_max = match unsafe { libc::sysconf(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

Meta

rustc --version --verbose:

rustc 1.92.0-nightly (3d8c1c1fc 2025-10-06) binary: rustc commit-hash: 3d8c1c1fc077d04658de63261d8ce2903546db13 commit-date: 2025-10-06 host: x86_64-unknown-linux-gnu release: 1.92.0-nightly LLVM version: 21.1.2 

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-targetsArea: Concerning the implications of different compiler targetsC-discussionCategory: Discussion or questions that doesn't represent real issues.T-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions