From d60e6decfd571d6912fdf77a1b09567cc2de84ca Mon Sep 17 00:00:00 2001 From: Arto Gahr Date: Thu, 10 Jul 2025 23:42:07 +0200 Subject: [PATCH] add explicit build target information for cargo Should fix https://github.com/aya-rs/book/issues/232 --- {{project-name}}-ebpf/.cargo/config.toml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 {{project-name}}-ebpf/.cargo/config.toml diff --git a/{{project-name}}-ebpf/.cargo/config.toml b/{{project-name}}-ebpf/.cargo/config.toml new file mode 100644 index 0000000..f60ed06 --- /dev/null +++ b/{{project-name}}-ebpf/.cargo/config.toml @@ -0,0 +1,5 @@ +[build] +target = "bpfel-unknown-none" + +[unstable] +build-std = ["core", "alloc"]