bytecodealliance / bytecodealliance/rustix

riscv32imc-esp-espidf build errors

Open
#1,652 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.1k
Forks
294
Avg merge
4h 7m
Merged PRs (30d)
2

Description

```console
$ 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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.