rust-skia icon indicating copy to clipboard operation
rust-skia copied to clipboard

x86_64-pc-windows-gnu support

Open tuxmark5 opened this issue 5 years ago • 3 comments

Right now skia-safe supports only x86_64-pc-windows-msvc when building for Windows. This makes it impossible to cross-compile Windows binaries from Linux that depend on skia-safe. Ideally it should also support x86_64-pc-windows-gnu, which would make it possible to cross-compile things for Windows that depend on rust-skia.

tuxmark5 avatar Jun 05 '20 19:06 tuxmark5

While I appreciate such requests. For moving this forward, I would expect at least two things:

  • Some basic research about what a solution would involve (for example, is it even possible to cross-compile Skia from Linux to Windows).
  • A description of a use case that drives that feature request and gives the community a clear "definition of done".

I'll keep this issue open for a while to see if there is more interest in cross-compilation. Related: #285.

pragmatrix avatar Jun 06 '20 09:06 pragmatrix

I did some experiments in #346, but failed so far bringing the gnu toolchain together with clang driver & msvc Skia needs to built with.

pragmatrix avatar Jun 06 '20 11:06 pragmatrix

I think this is preventing me from being able to cross compile. :(

ctrlcctrlv avatar Dec 23 '21 02:12 ctrlcctrlv