From f6c23e3d4e2ff006fe9b3eb7a90e991cf7994d7e Mon Sep 17 00:00:00 2001 From: Badr Date: Wed, 11 Jun 2025 20:14:20 +0200 Subject: [PATCH] do not strip ebpf in release mode Because aya::EbpfLoader::set_global relies on debug symbols, the eBPF should not be striped. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 8b9668c..a840132 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,3 +31,4 @@ which = { version = "6.0.0", default-features = false } [profile.release.package.{{project-name}}-ebpf] debug = 2 codegen-units = 1 +strip = false