Skip to content

Fix Windows build#117

Open
petrochenkov wants to merge 1 commit into
deprecrated:masterfrom
petrochenkov:winfix
Open

Fix Windows build#117
petrochenkov wants to merge 1 commit into
deprecrated:masterfrom
petrochenkov:winfix

Conversation

@petrochenkov

Copy link
Copy Markdown

This crate unfortunately has ambiguous glob imports (rust-lang/rust#114095) in src/sys/windows/mod.rs, so it fails building on modern versions of rustc.
Other crates depending on net2 are not affected yet, because ambiguous_glob_imports is a lint, but when the lint is converted to an error they will stop building too.

Some crates depending on net2 (e.g. iron) were quite popular in the past, so in rust-lang/rust#149195 we had to add a crate-specific exception to rustc to keep net2 building.

@pfmooney I understand that the crate is long deprecated, but would it be possible to release a patch version of this crate with this fix?
It would make life easier for both rustc and all its transitive dependencies that still may be in use.

@pfmooney

pfmooney commented Jun 2, 2026

Copy link
Copy Markdown
Member

@pfmooney I understand that the crate is long deprecated, but would it be possible to release a patch version of this crate with this fix? It would make life easier for both rustc and all its transitive dependencies that still may be in use.

Yeah. Please follow up if you don't see movement in a few days.

@pfmooney pfmooney self-assigned this Jun 2, 2026
@petrochenkov

petrochenkov commented Jun 22, 2026

Copy link
Copy Markdown
Author

Yeah. Please follow up if you don't see movement in a few days.

ping @pfmooney

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

Successfully merging this pull request may close these issues.

2 participants