aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/fib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/fib.rs')
-rw-r--r--examples/fib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/fib.rs b/examples/fib.rs
index 534dc13..e523b9d 100644
--- a/examples/fib.rs
+++ b/examples/fib.rs
@@ -1,3 +1,8 @@
+//! Fibonacci example.
+//!
+//! Jit compile a function at runtime (generate native host code) to compute the fibonacci sequence
+//! to demonstrate the [`juicebox_asm`] crate.
+
use juicebox_asm::prelude::*;
use juicebox_asm::Runtime;