More aggressive target flag off
This commit is contained in:
parent
9cc78c5416
commit
9873c864ef
|
@ -40,6 +40,7 @@ pub(crate) struct HarmonicCli {
|
|||
/// Number of build users to create
|
||||
#[clap(long, default_value = "32", env = "HARMONIC_NIX_DAEMON_USER_COUNT")]
|
||||
pub(crate) daemon_user_count: usize,
|
||||
#[cfg(target_os = "linux")]
|
||||
#[clap(subcommand)]
|
||||
subcommand: Option<subcommand::Subcommand>,
|
||||
}
|
||||
|
@ -62,8 +63,8 @@ impl CommandExecute for HarmonicCli {
|
|||
subcommand,
|
||||
} = self;
|
||||
|
||||
match subcommand {
|
||||
#[cfg(target_os = "linux")]
|
||||
match subcommand {
|
||||
Some(subcommand::Subcommand::NixOs(nixos)) => return nixos.execute().await,
|
||||
None => (),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue