Skip to content

Allow windows-sys 0.61#145

Merged
nagisa merged 1 commit intorust-lang:masterfrom
bjorn3:update_windows_sys
Apr 18, 2026
Merged

Allow windows-sys 0.61#145
nagisa merged 1 commit intorust-lang:masterfrom
bjorn3:update_windows_sys

Conversation

@bjorn3
Copy link
Copy Markdown
Member

@bjorn3 bjorn3 commented Apr 17, 2026

This version no longer ships import libraries but instead unconditionally uses raw-dylib. Versions below <0.60 are no longer allowed as 0.61 removed BOOL from Win32 Foundation, while 0.60 introduced it in core.

With this rustc no longer needs to pull in windows-targets and the import libraries crates. This should reduce the size of the vendored tarball by a couple of MB.

This version no longer ships import libraries but instead
unconditionally uses raw-dylib. Versions below <0.60 are no longer
allowed as 0.61 removed BOOL from Win32 Foundation, while 0.60
introduced it in core.
@bjorn3 bjorn3 force-pushed the update_windows_sys branch from 00bea3d to eab5cfc Compare April 17, 2026 12:45
@bjorn3
Copy link
Copy Markdown
Member Author

bjorn3 commented Apr 17, 2026

Installation of clang for i686 fails on CI.

@nagisa
Copy link
Copy Markdown
Member

nagisa commented Apr 18, 2026

Thanks!

@nagisa nagisa merged commit 976f7e7 into rust-lang:master Apr 18, 2026
396 of 400 checks passed
rust-bors bot pushed a commit to rust-lang/rust that referenced this pull request Apr 19, 2026
Update a bunch of dependencies to reduce windows-sys duplication

This gets rid of windows-sys 0.60 and with the exception of curl and stacker it gets rid of windows-sys 0.59. For stacker getting rid of windows-sys 0.59 is blocked on rust-lang/stacker#145 and #155438.
github-actions bot pushed a commit to rust-lang/stdarch that referenced this pull request Apr 20, 2026
Update a bunch of dependencies to reduce windows-sys duplication

This gets rid of windows-sys 0.60 and with the exception of curl and stacker it gets rid of windows-sys 0.59. For stacker getting rid of windows-sys 0.59 is blocked on rust-lang/stacker#145 and rust-lang/rust#155438.
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Apr 20, 2026
Update a bunch of dependencies to reduce windows-sys duplication

This gets rid of windows-sys 0.60 and with the exception of curl and stacker it gets rid of windows-sys 0.59. For stacker getting rid of windows-sys 0.59 is blocked on rust-lang/stacker#145 and rust-lang/rust#155438.
@bjorn3 bjorn3 deleted the update_windows_sys branch April 20, 2026 08:30
lnicola pushed a commit to lnicola/rust-analyzer that referenced this pull request Apr 20, 2026
Update a bunch of dependencies to reduce windows-sys duplication

This gets rid of windows-sys 0.60 and with the exception of curl and stacker it gets rid of windows-sys 0.59. For stacker getting rid of windows-sys 0.59 is blocked on rust-lang/stacker#145 and rust-lang/rust#155438.
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