Closed levydsa closed 3 months ago
@LucioFranco @levydsa We build on Windows all the time... For some reason, this does not seem to break Windows build, but now I am curious to understand why that is. Clearly we can't just run a UNIX command like that from build.rs
and be portable.
In this same build file there is a call to make
and shell script configure
. I think some coreutils are available via mingw, but I'm not sure. I'll try to find a more cross platform solution.
Fixes https://github.com/ipetkov/crane/issues/644. I wonder why it copies the bindgen.rs file so many times to the same location.
Also, two symlinks were causing trouble when copying the source to the nix store, they are currently pointing to nothing. So I just copied them from somewhere else in the project.