Skip to content

Commit

Permalink
fix: backend/daemon buildscript
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Hilgers <[email protected]>
  • Loading branch information
fhilgers committed Dec 10, 2024
1 parent b59f1be commit 0e7c9f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/backend/daemon/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use std::{
};

use cargo_metadata::{
Artifact, CompilerMessage, Message, Metadata, MetadataCommand, Package, Target,
Artifact, CompilerMessage, Message, Metadata, MetadataCommand, Package, Target, TargetKind,
};
use xtask::AYA_BUILD_EBPF;

Expand Down Expand Up @@ -168,7 +168,7 @@ fn main() {
} else {
let Package { targets, .. } = ebpf_package;
for Target { name, kind, .. } in targets {
if *kind != ["bin"] {
if !kind.contains(&TargetKind::Bin) {
continue;
}
let dst = out_dir.join(name);
Expand Down

0 comments on commit 0e7c9f3

Please sign in to comment.