c2rust
c2rust copied to clipboard
Windows building support
This is draft PR to check if there is appetite for that Current problems which I would work on
- I should examine what libc variants has simply different signatures, I fail to recognize that, and ignore too much probably.
- libclangAstExporter currently failed to build with error
unsupported or unknown VisualStudio version: 18.0
if another version is installed consider running the appropriate vcvars script before building this crate
', .....cargo\registry\src\github.com-1ecc6299db9ec823\cmake-0.1.50\src\lib.rs:955:2
-
patchexecutable should be on PATH. I think you may find it inC:\Program Files\Git\usr\bin\on most dev machines.
That probably indication that cmake create should be updated, but that's whole can of worm.
Would be glad to recive feedback on the general direction
I think the second error is due to cmake missing support for VS 2026 https://github.com/rust-lang/cmake-rs/pull/255