瀏覽代碼

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

Signed-off-by: Wouter Dullaert <wouter.dullaert@exoscale.ch>
Wouter Dullaert 9 月之前
父節點
當前提交
93e7dcda59
共有 1 個文件被更改,包括 10 次插入0 次删除
  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
+```