cargo-c icon indicating copy to clipboard operation
cargo-c copied to clipboard

CI: Example project: compile C test program on Windows

Open mgeier opened this issue 5 years ago • 2 comments

This was done in #122 for Linux and macOS, but not for Windows.

Currently, a Makefile is used, but probably something else is needed on Windows ...

mgeier avatar Oct 16 '20 15:10 mgeier

Since #142, there is a test with inline-c that also runs on Windows.

This is good, but I don't think this reflects typical use, because the library is "installed" in some obscure directory that's only known to cargo.

I think it would be very helpful to show an example usage that's closer to how it would be actually used on Windows.

Sadly, I have no clue how things are normally done on Windows, so I cannot give a concrete suggestion ...

mgeier avatar Nov 28 '20 17:11 mgeier

There is a (draft) PR #194 that tries to compile the example project with MSYS2 on Windows.

It would still be great to have a "native" Windows example (e.g. using MSVC).

mgeier avatar Jun 05 '21 11:06 mgeier