Add #![no_builtins]

See https://github.com/aya-rs/aya/pull/698 for rationale.
reviewable/pr98/r1
Tamir Duberstein 2 years ago
parent afdb45341f
commit 66d6afeb46
No known key found for this signature in database

@ -1,5 +1,6 @@
#![no_std] #![no_builtins]
#![no_main] #![no_main]
#![no_std]
{% case program_type -%} {% case program_type -%}
{%- when "kprobe" %} {%- when "kprobe" %}
use aya_bpf::{macros::kprobe, programs::ProbeContext}; use aya_bpf::{macros::kprobe, programs::ProbeContext};

Loading…
Cancel
Save