From 6d30972fdbc733e3df351c31ab85211d34c357e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alessandro=C2=A0Decina?= Date: Sun, 19 Sep 2021 08:44:48 +0000 Subject: [PATCH] ebpf: set debug = 1 to avoid a potential segfault in LLVM --- {{project-name}}-ebpf/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/{{project-name}}-ebpf/Cargo.toml b/{{project-name}}-ebpf/Cargo.toml index baec21e..91a4e07 100644 --- a/{{project-name}}-ebpf/Cargo.toml +++ b/{{project-name}}-ebpf/Cargo.toml @@ -13,6 +13,7 @@ path = "src/main.rs" [profile.dev] panic = "abort" +debug = 1 opt-level = 2 overflow-checks = false