Pārlūkot izejas kodu

fix(doc): Add compilation instructions for aya ebpf example

Signed-off-by: Wouter Dullaert <wouter.dullaert@exoscale.ch>
Wouter Dullaert 9 mēneši atpakaļ
vecāks
revīzija
93e7dcda59
1 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. 10 0
      examples/allowed-memory/README.md

+ 10 - 0
examples/allowed-memory/README.md

@@ -0,0 +1,10 @@
+This directory contains an example eBPF program for testing memory access with
+helper functions in rbpf.
+
+To recompile the program, make sure to install all of
+[Aya's prerequisites](https://aya-rs.dev/book/start/development/),
+then run from this directory:
+
+```bash
+cargo build --release
+```