Skip to content

Compiling error for all *-nuttx-* targets #163700

Open

Description

@Wyvern

rustc 1.101.0-nightly (0abfedb 2026-10-02)
build with : -Zbuild-std
affected targets: all *-nuttx-* targets

error[E0425]: cannot find value `AT_SYMLINK_NOFOLLOW` in crate `libc`
   --> .../.rustup/toolchains/nightly-2026-10-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/fs/unix/dir.rs:159:48
    |
159 |         let flag = if symlink_nofollow { libc::AT_SYMLINK_NOFOLLOW } else { 0 };
    |                                                ^^^^^^^^^^^^^^^^^^^ 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

  1. added
    needs-triage
    on Oct 3, 2026
  2. folkertdev commented on Oct 3, 2026

    @folkertdev
    Contributor

    Presumably fixed by #163693

  3. added
    T-libs
    -Zbuild-std
    and removed
    needs-triage
    on Oct 3, 2026
  4. linked a pull request that will close this issuefix std build on nuttx #163693on Oct 3, 2026
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

    -Zbuild-stdT-libs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions