Cygwin target fails to compile on nightly

Open
#702 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
networking

Research direction

Start by reproducing the Cygwin target build failure on nightly and inspect the target-specific code and configuration in this repository. The error points to Rust standard library path support, and the issue tracks upstream Rust issue 167067; determine whether socket2 needs a change for that target and confirm the build succeeds when the issue is resolved.

Written by the indexing model from the issue text.

Description

error[E0432]: unresolved import `crate::sys::path::with_native_path`
 --> /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/fs/mod.rs:5:5
  |
5 | use crate::sys::path::with_native_path;
  |     ^^^^^^^^^^^^^^^^^^----------------
  |                       |
  |                       no `with_native_path` in `sys::path`

Tracked upstream: https://github.com/rust-lang/rust/issues/167067.

Dominant language
Rust
Stars
885
Forks
328
Avg merge
6d 12h
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rust-lang/socket2

All issues in rust-lang/socket2

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.