Skip to content

Conversation

@stevefan1999-personal
Copy link
Contributor

@stevefan1999-personal stevefan1999-personal commented Oct 15, 2024

Partially fixes #80, especially need to strip it for reqwest, and by extension socket2 to run. That API call only exists on Windows 7 SP1 and above, so socket2 calls to it breaks by returning unsupported. We don't care about socket inheritance at this point.

https://github.com/rust-lang/socket2/blob/3a938932829ea6ee3025d2d7a86c7b095c76e6c3/src/sys/windows.rs#L253

https://github.com/rust-lang/socket2/blob/3a938932829ea6ee3025d2d7a86c7b095c76e6c3/src/sys/windows.rs#L406

@mingkuang-Chuyu mingkuang-Chuyu changed the base branch from master to Fea/YY/PendingPR October 17, 2024 02:29
@mingkuang-Chuyu mingkuang-Chuyu self-requested a review October 17, 2024 02:29
@mingkuang-Chuyu mingkuang-Chuyu merged commit 2495157 into Chuyu-Team:Fea/YY/PendingPR Oct 17, 2024
1 check failed
@mingkuang-Chuyu
Copy link
Collaborator

@stevefan1999-personal Thanks for your support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

让rust程序支持Windows XP RTM(rust程序兼容性问题请统一在此帖回复)

3 participants