From ae34a23bc7906e3b552ea91ddb57087df609a796 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Thu, 27 Jul 2023 19:33:07 -0400 Subject: [PATCH] Add #![no_builtins] See https://github.com/aya-rs/aya/pull/698 for rationale. --- {{project-name}}-ebpf/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/{{project-name}}-ebpf/src/main.rs b/{{project-name}}-ebpf/src/main.rs index 0f13e39..20f988e 100644 --- a/{{project-name}}-ebpf/src/main.rs +++ b/{{project-name}}-ebpf/src/main.rs @@ -1,5 +1,6 @@ -#![no_std] +#![no_builtins] #![no_main] +#![no_std] {% case program_type -%} {%- when "kprobe" %} use aya_bpf::{macros::kprobe, programs::ProbeContext};