Skip to content

Commit

Permalink
target_family issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ssrlive committed Mar 26, 2024
1 parent 5ff350a commit 9552256
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ webpki = { package = "rustls-webpki", version = "0.102", features = [
] }
webpki-roots = "0.26"

[target.'cfg(target_family="unix")'.dependencies]
[target.'cfg(unix)'.dependencies]
daemonize = "0.5"

[target.'cfg(target_os="android")'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/cmdopt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub struct CmdOpt {
#[arg(short, long, value_name = "level", value_enum, default_value = "info")]
pub verbosity: ArgVerbosity,

#[cfg(target_family = "unix")]
#[cfg(unix)]
#[arg(short, long)]
/// Daemonize for unix family.
pub daemonize: bool,
Expand Down

0 comments on commit 9552256

Please sign in to comment.