Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Git works only on cygwin too?


No, it doesn't. OP meant that the Rust support on Cygwin is bad; it is better with the native Windows API.


I don't quite understand. Why use a janky, lossy Linux emulation layer when you can just target Windows natively?


For some reason git for windows is a cygwin build.


Because git expects a POSIX API and POSIX tools and also POSIX behaviour like symlinks and line-endings to do its job.


It's a native build. Only various tools it is shipped with are cygwin builds, like bash etc.


Oh, indeed, but git often calls them.


Git for Windows uses MSYS2, which is a mix of a Cygwin fork and MinGW, the implementation of the Win32 APIs for Linux.


Cygwin is an ugly hack anyway.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: