windows-rs: Linux -> Windows Cross Compilation broken

This change https://github.com/microsoft/windows-rs/commit/198621c5588a1482eeec4077b113e80f304f2e28#diff-26e81435323b9d11b39a44aa6f5adf5b3d863e3b2b149d6c2777b925ca8694b9R53 seems to break cross-compilation from Linux. It seems the build script is run with the equivalent of cfg!(unix), not cfg!(windows).

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18 (1 by maintainers)

Most upvoted comments

I’ll leave this open for now while noting that it is blocked on https://github.com/rust-lang/rust/issues/58713.

I can wire up x86_64-pc-windows-gnu for CI later tonight 👍