haimgel / display-switch

Turn a $30 USB switch into a full-featured multi-monitor KVM switch
https://haim.dev/posts/2020-07-28-dual-monitor-kvm/
MIT License
2.82k stars 110 forks source link

Consider compiling with musl or an older libc #144

Open autarch opened 3 days ago

autarch commented 3 days ago

It looks like the latest release was compiled against a very recent glibc on Linux, and so it doesn't run on Ubuntu 20.04. It'd be nice to support slightly older distros like this one.

I think the best option is to take advantage of Rust's easy-to-use musl support and compile with that. But alternatively, I think you could just specify ubuntu-20.04 in your GH Actions YAML instead of ubuntu-latest (which is 22.04 right now).