port to windows or macos (#61)

This commit is contained in:
ssrlive 2023-08-31 14:31:02 +08:00 committed by GitHub
parent 4b42413ab0
commit bbb8d3b244
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 69 additions and 12 deletions

View file

@ -52,6 +52,7 @@ pub enum Error {
#[error("{0}")]
String(String),
#[cfg(target_family = "unix")]
#[error("nix::errno::Errno {0:?}")]
OSError(#[from] nix::errno::Errno),