Skip to content

Commit

Permalink
Add #![no_builtins]
Browse files Browse the repository at this point in the history
See aya-rs/aya#698 for rationale.
  • Loading branch information
tamird committed Aug 1, 2023
1 parent 599ba4b commit ae34a23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion {{project-name}}-ebpf/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![no_std]
#![no_builtins]
#![no_main]
#![no_std]
{% case program_type -%}
{%- when "kprobe" %}
use aya_bpf::{macros::kprobe, programs::ProbeContext};
Expand Down

0 comments on commit ae34a23

Please sign in to comment.