Closed tptee closed 7 years ago
Weird, tests pass on macOS for me. Anything I'm missing?
For sure buildtag that locks this code to ios.
Oops! Added the build tag and tests pass now 👍
@Kubuxu @tptee wait a sec, does this only work on iOS? Or does this same fix also work for darwin (aka, normal macbooks)?
(also, apologies for the great delay)
ah, nvm. I see that this is just a slight fork of the base poll_bsd.go code.
@Kubuxu is this RFM?
Confirmed that this compiles and runs on iOS by:
gomobile bind -target=ios .
This is assuming that the
kqueue
implementation for x86 Darwin is the same as on ARM Darwin.