Upstream libuv patches and upgrade libuv
We have several android patches and two patches cherry-picked from upstream libuv.
I saw that you already updated the submodule. I took the current patches and rebased in a single commit on top of libuv HEAD, it is at lucab/libuv@f71151f54aabef0be62b858ca239775326b4a88d. If @ILyoan is fine with it, I'd like to send a PR upstream for this.
I don't mind if it works on android smoothly. @yichoi what do you think about this?
why not. feel free to send a PR
In the meanwhile I spotted an almost identical PR to libuv for android: https://github.com/joyent/libuv/pull/805 Given that the code is almost the same and should be fine also for rust, I'll probably drop my branch and wait for the other PR to be merged...
Ok, the other PR has just been merged. @brson, I think you can either update the submodule to joyent@eb1f60c022 or wait for the next stable tag before synching.
I'm attempting to upgrade libuv for #6436, and from the looks of this, we no longer need the android fixes, but to fix the process issues we do need a workaround-patch for the meantime. As soon as the corresponding issue is fixed (mentioned on #6436), then we can reset back to joyent/master.
Unfortunately, it looks like I won't be able to upgrade libuv at this time. The main blocker for me was that I just couldn't get libuv master to build on mingw right now. If that can be done, I think that we can revisit upgrading libuv. @olsonjeffery mentions that the libuv folks aren't really supporting mingw as a first class platform, they prefer msvc.