bytecodealliance / bytecodealliance/fs-set-times

Crashes for `esp-idf`

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
12
Forks
5
PR merge metrics
No merged PRs in 30d

Description

When using target for `esp-idf` I get:

```sh
error[E0432]: unresolved imports `rustix::fs::futimens`, `rustix::fs::utimensat`, `rustix::fs::AtFlags`, `rustix::fs::CWD`, `rustix::fs::UTIME_NOW`, `rustix::fs::UTIME_OMIT`, `rustix::time`
--> /Users/searoll/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/fs-set-times-0.20.3/src/set_times.rs:5:10
|
5 | fs::{futimens, utimensat, AtFlags, Timestamps, CWD},
| ^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^ no `CWD` in `fs`
| | | |
| | | no `AtFlags` in `fs`
| | no `utimensat` in `fs`
| no `futimens` in `fs`
6 | fs::{UTIME_NOW, UTIME_OMIT},
| ^^^^^^^^^ ^^^^^^^^^^ no `UTIME_OMIT` in `fs`
| |
| no `UTIME_NOW` in `fs`
7 | time::Timespec,
| ^^^^ could not find `time` in `rustix`
|
note: found an item that was configured out
--> /Users/searoll/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.4/src/lib.rs:309:9
|
306 | #[cfg(not(any(windows, target_os = "espidf")))]
| ------------------------------------ the item is gated here
...
309 | pub mod time;
| ^^^^
help: a similar name exists in the module
|
5 - fs::{futimens, utimensat, AtFlags, Timestamps, CWD},
5 + fs::{futimens, utimensat, OFlags, Timestamps, CWD},
|
```

seems like it's clashing...?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.