use super::*;
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub struct NativeTarget {
pub platform: NativePlatform,
pub task: NativeTask,
}
#[derive(Clone, Data, Debug)]
pub struct NativePlan {
#[get(pub(crate))]
pub host: HostOs,
#[get(pub(crate))]
pub arch: String,
#[get(pub(crate))]
pub targets: Vec<NativeTarget>,
#[get(pub(crate))]
pub unsupported: Vec<NativePlatform>,
}
#[derive(Clone, Data, Debug, Parser)]
pub struct BuildArgs {
#[command(flatten)]
#[get(pub(crate))]
pub mode: ModeArgs,
#[arg(long)]
#[get(pub(crate), type(copy))]
pub all: bool,
#[arg(long, value_delimiter = ',')]
#[get(pub(crate))]
pub platforms: Vec<NativePlatform>,
#[arg(long)]
#[get(pub(crate))]
pub native_path: Option<PathBuf>,
#[arg(long)]
#[get(pub(crate), type(copy))]
pub plan: bool,
}