Skip to content

Commit ae34a23

Browse files
committed
Add #![no_builtins]
See aya-rs/aya#698 for rationale.
1 parent 599ba4b commit ae34a23

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

{{project-name}}-ebpf/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
#![no_std]
1+
#![no_builtins]
22
#![no_main]
3+
#![no_std]
34
{% case program_type -%}
45
{%- when "kprobe" %}
56
use aya_bpf::{macros::kprobe, programs::ProbeContext};

0 commit comments

Comments
 (0)