3

Add windows_sys type definitions for ARM32 manually by bdbai · Pull Request #112...

 1 year ago
source link: https://github.com/rust-lang/rust/pull/112527
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Contributor

@bdbai bdbai

commented

Jun 11, 2023

edited

windows_sys bindings do not include platform-specific type definitions for ARM 32 architecture, so it breaks thumbv7a-pc-windows-msvc and thumbv7a-uwp-windows-msvc targets. This PR tries to add them back by manually inserting them together with the generated ones.

WSADATA is copied from the generated definition for x86. CONTEXT is copied from the definition before windows_sys is introduced (which is just an empty enum):

.

Fixes #112265.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK