From f4a9fdb3357ce1a2dfc12cbb0fee6b915bc810c4 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Thu, 7 Dec 2023 23:00:09 +0100 Subject: remove prelude --- examples/fib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/fib.rs') diff --git a/examples/fib.rs b/examples/fib.rs index e523b9d..c7505bb 100644 --- a/examples/fib.rs +++ b/examples/fib.rs @@ -3,8 +3,9 @@ //! 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::insn::*; use juicebox_asm::Runtime; +use juicebox_asm::{Asm, Imm64, Label, Reg64}; const fn fib_rs(n: u64) -> u64 { match n { -- cgit v1.2.3