smol-rs / polling

Portable interface to epoll, kqueue, event ports, and wepoll
Apache License 2.0
551 stars 68 forks source link

feat: ported to Vita target #197

Closed nikarh closed 6 months ago

nikarh commented 6 months ago

Fixes #160

Notes

nikarh commented 6 months ago

Can we add a test for this in CI? Just a cargo check would suffice.

Also, do you have a way of testing this on the actual Vita software?

Running tests requires an actual piece of hardware (no way to run in qemu, since Vita runs a proprietary OS that demands specific hardware). Cargo check though is absolutely doable, will add it.

Currently, I run tests on a physical device using cargo-vita tool which does these things in a single command:

At the same time, I run another plain text TCP socket server on my computer, and Vita runs a module that pipes stdin and stdout to that TCP socket, making it possible to see test results.

nikarh commented 6 months ago

Fixed the comment, added check to CI and enabled CI check for tier 3 nightly targets

nikarh commented 6 months ago

I'm assuming the tests pass when you run it on actual hardware, right?

Yes, I run them on the actual hardware, and all of them pass (except for the many_connections due to fd limits on the system, but it also passes if I reduce 100 to 60)