Skip to content

riscv32imc-esp-espidf build errors #1652

Description

@xtqqczze
$ cargo +nightly check -q -Z build-std --target riscv32imc-esp-espidf --all-targets --features=all-apis
error[E0425]: cannot find value `AT_FDCWD` in crate `libc`
    --> ~/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/fs/unix.rs:1889:38
     |
1889 |                 libc::fchmodat(libc::AT_FDCWD, p.as_ptr(), perm.mode, 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

cc: @ivmarkov @MabezDev @SergioGasquez (as *-espidf target maintainers)

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