Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustix: missing declaration of CWD #16

Open
nielx opened this issue Oct 30, 2023 · 1 comment
Open

rustix: missing declaration of CWD #16

nielx opened this issue Oct 30, 2023 · 1 comment

Comments

@nielx
Copy link
Owner

nielx commented Oct 30, 2023

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.

@nielx
Copy link
Owner Author

nielx commented Oct 30, 2023

Looks like bumping tempfile to 3.7.1 should work: Stebalien/tempfile@bf8f7ea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant