nix icon indicating copy to clipboard operation
nix copied to clipboard

Conditional on Linux/musl/mips needs adjusting?

Open he32 opened this issue 2 years ago • 1 comments
trafficstars

https://github.com/nix-rust/nix/blob/15d624a0fe061f45226addb929f52d866c26d09f/src/sys/signal.rs#L1071

It looks like this is going to be a problem when I come along with the mipsel-uknown-netbsd port, especially since theSigevThreadId referenced on the next line isn't defined on NetBSD.

The conditional says ("Linux" and "musl" environment) or (any "mips"), which ends up being over-broad, and is possibly not what was intended?

he32 avatar Jan 27 '23 20:01 he32

Among the platforms that Nix currently supports, that expression is accurate. But we can certainly change it to accommodate new platforms. Patches welcome.

asomers avatar Mar 31 '23 20:03 asomers