tinygo
tinygo copied to clipboard
net: enable native golang linux networking
This is a rework of the plain linux network POC https://github.com/tinygo-org/tinygo/pull/4460. This PR adds adaptive switching of network packages depending on the GOOS.
The CI fails due to unadjusted build tags for MacOs and WASm.
Successfully tested on linux/amd64.
@aykevl I will add some basic tests. Since I already did some testing (I hope) it should be fairly easy to integrate this here.