Skip to content

windows-sys bindings supported on Linux #3565

@matheo-lucak

Description

@matheo-lucak

Suggestion

Hello, firstly thanks for all the work to push on windows development.

I'm trying to use WinRM to communicate from a Linux client to Windows servers.
Compiling the WinRM client, and running it on a Windows machine works fine but compiling it on Linux fails, the linker fails to find required symbols of WinRM functions.

I've seen CI building Linux and testing for native linux for the C++/WinRT here. (Which I see has been deleted since for only cross building tests).
The crate windows-link also has a macro to run on non-windows targets

#[cfg(not(windows))]
#[macro_export]
macro_rules! link {
...
}

What is the scope of Linux support for the windows-sys crate ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions