Skip to content

rustix: missing declaration of CWD #16

Description

@nielx

When building Rust 1.73.0 + Cargo 0.74.0:

error[E0432]: unresolved import `rustix::fs::CWD`
  --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tempfile-3.7.0/src/file/imp/unix.rs:17:55
   |
17 | use rustix::fs::{linkat, renameat, unlinkat, AtFlags, CWD};
   |                                                       ^^^ no `CWD` in `fs`

   Compiling thiserror-impl v1.0.44

src/tools/cargo/Cargo.lock is pinning tempfile at 3.7.0, depending on rustix 0.38.6.

There is some chatter about this issue in bytecodealliance/rustix#478, though have not verified it myself.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions