rust-lang/docs.rs

The GNU build tool does not support MSVC targets.

Closed this issue · 1 comments

Crate name

xege-ffi

Build failure link

https://docs.rs/crate/xege-ffi/0.1.4/builds/2395357

Additional details

My crate needs to compile C++ source code to an MSVC target, but GUN does not support generating MSVC targets.

our build-servers are linux build servers right now, and there is no way around that. We're using rusts cross-compilation to build the docs for other platforms.

Most crates solve similar issues by using conditional compilation (like a special docs feature that is activated by docs.rs metadata) to exclude the FFI / CPP parts from the compile process. In most cases the docs don't depend on any integration code.