Closed w1kee closed 1 year ago
That would also be a nice option, if @w1kee wants to do that. It would require adjusting a few more places in the code.
I wasn't sure if #[cfg(unix)]
can be used on things like fields in constructors but apparently that works too.
Thanks for your contribution!
Instead of allowing dead code, should we make this field
#[cfg(unix)]
so it just doesn't exist on other platforms?