So I cross-compiled Go code on Windows(10) for Linux and I was actually able to run the same executable on both Windows and Linux how is that possible?
That'd be the new Windows Subsystem for Linux (WSL) that can run Linux ELF binaries natively on Windows 10.