소스 검색

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
+```