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