HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by GoblinSlayer | Hacker News Reader
Parent
Full thread
GoblinSlayer
·
Git works only on cygwin too?
View on HN
Kwpolska
·
No, it doesn't. OP meant that the Rust support on Cygwin is bad; it is better with the native Windows API.
IshKebab
·
Cygwin is an ugly hack anyway.
sunshowers
·
I don't quite understand. Why use a janky, lossy Linux emulation layer when you can just target Windows natively?
GoblinSlayer
·
For some reason git for windows is a cygwin build.
1718627440
·
Because git expects a POSIX API and POSIX tools and also POSIX behaviour like symlinks and line-endings to do its job.
lazka
·
It's a native build. Only various tools it is shipped with are cygwin builds, like bash etc.
GoblinSlayer
·
Oh, indeed, but git often calls them.
1718627440
·
Git for Windows uses MSYS2, which is a mix of a Cygwin fork and MinGW, the implementation of the Win32 APIs for Linux.
Reply on news.ycombinator.com