Skip to main content

async_ebpf/
lib.rs

1#[cfg(not(all(
2  any(target_os = "linux", target_os = "openbsd"),
3  any(target_arch = "x86_64", target_arch = "aarch64")
4)))]
5compile_error!("only x86_64/aarch64 Linux and OpenBSD are supported");
6
7mod coroutine;
8/// Error types returned by the runtime.
9pub mod error;
10mod function_analysis;
11/// Helper definitions and utilities for eBPF programs.
12pub mod helpers;
13mod linker;
14mod pointer_cage;
15/// Program loading and execution APIs.
16pub mod program;
17mod region_analysis;
18mod ubpf;
19mod util;
20
21#[cfg(test)]
22mod test;
23
24#[cfg(any(test, feature = "testing"))]
25/// Test helpers and fixtures for exercising the runtime.
26pub mod test_util;