|
|
@ -8,7 +8,7 @@ use std::{
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
use cargo_metadata::{
|
|
|
|
use cargo_metadata::{
|
|
|
|
Artifact, CompilerMessage, Message, Metadata, MetadataCommand, Package, Target,
|
|
|
|
Artifact, CompilerMessage, Message, Metadata, MetadataCommand, Package, Target, TargetKind,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
use xtask::{exec, AYA_BUILD_INTEGRATION_BPF, LIBBPF_DIR};
|
|
|
|
use xtask::{exec, AYA_BUILD_INTEGRATION_BPF, LIBBPF_DIR};
|
|
|
|
|
|
|
|
|
|
|
@ -281,7 +281,7 @@ fn main() {
|
|
|
|
|
|
|
|
|
|
|
|
let Package { targets, .. } = integration_ebpf_package;
|
|
|
|
let Package { targets, .. } = integration_ebpf_package;
|
|
|
|
for Target { name, kind, .. } in targets {
|
|
|
|
for Target { name, kind, .. } in targets {
|
|
|
|
if *kind != ["bin"] {
|
|
|
|
if *kind != [TargetKind::Bin] {
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let dst = out_dir.join(name);
|
|
|
|
let dst = out_dir.join(name);
|
|
|
|