aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/fib
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2023-12-07 23:53:44 +0000
committerjohannst <johannst@users.noreply.github.com>2023-12-07 23:53:44 +0000
commitd3e1eff9593501ff8677b9399e1f0625f415ec78 (patch)
treefbc8aa062fdd4ca510fae17ea515354549636f29 /src/fib
parent2294180c3778d0fcfa877818e98c420fcd54bb8a (diff)
downloadjuicebox-asm-d3e1eff9593501ff8677b9399e1f0625f415ec78.tar.gz
juicebox-asm-d3e1eff9593501ff8677b9399e1f0625f415ec78.zip
deploy: b5aea3fb5fcce31599e3d7397d5413a934132231
Diffstat (limited to 'src/fib')
-rw-r--r--src/fib/fib.rs.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fib/fib.rs.html b/src/fib/fib.rs.html
index 87a1bbf..f7b4aa6 100644
--- a/src/fib/fib.rs.html
+++ b/src/fib/fib.rs.html
@@ -76,13 +76,15 @@
<a href="#76" id="76">76</a>
<a href="#77" id="77">77</a>
<a href="#78" id="78">78</a>
+<a href="#79" id="79">79</a>
</pre></div><pre class="rust"><code><span class="doccomment">//! Fibonacci example.
//!
//! Jit compile a function at runtime (generate native host code) to compute the fibonacci sequence
//! to demonstrate the [`juicebox_asm`] crate.
-</span><span class="kw">use </span>juicebox_asm::prelude::<span class="kw-2">*</span>;
+</span><span class="kw">use </span>juicebox_asm::insn::<span class="kw-2">*</span>;
<span class="kw">use </span>juicebox_asm::Runtime;
+<span class="kw">use </span>juicebox_asm::{Asm, Imm64, Label, Reg64};
<span class="kw">const fn </span>fib_rs(n: u64) -&gt; u64 {
<span class="kw">match </span>n {