3 ms·
The winapi does a lot of work to support that use-case. Importantly, it ships (mingw) import libraries to allow linking against windows libs from linux triviall
by roblabla 6y ago
The winapi does a lot of work to support that use-case. Importantly, it ships (mingw) import libraries to allow linking against windows libs from linux trivially[0].
EDIT: windows-rs doesn't yet support cross compilation as easily as winapi. Here's the issue tracking it: https://github.com/microsoft/windows-rs/issues/142 https://github.com/microsoft/windows-rs/issues/142
[0]: https://github.com/retep998/winapi-rs/tree/0.3/x86_64/def https://github.com/retep998/winapi-rs/tree/0.3/x86_64/def