Explorar o código

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

Signed-off-by: Wouter Dullaert <wouter.dullaert@exoscale.ch>
Wouter Dullaert hai 9 meses
pai
achega
93e7dcda59
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  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
+```