|
|
@ -32,8 +32,10 @@ impl std::fmt::Display for Architecture {
|
|
|
|
|
|
|
|
|
|
|
|
#[derive(StructOpt)]
|
|
|
|
#[derive(StructOpt)]
|
|
|
|
pub struct Options {
|
|
|
|
pub struct Options {
|
|
|
|
|
|
|
|
/// Set the endianness of the BPF target
|
|
|
|
#[structopt(default_value = "bpfel-unknown-none", long)]
|
|
|
|
#[structopt(default_value = "bpfel-unknown-none", long)]
|
|
|
|
pub target: Architecture,
|
|
|
|
pub target: Architecture,
|
|
|
|
|
|
|
|
/// Build the release target
|
|
|
|
#[structopt(long)]
|
|
|
|
#[structopt(long)]
|
|
|
|
pub release: bool,
|
|
|
|
pub release: bool,
|
|
|
|
}
|
|
|
|
}
|
|
|
|