aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-12-07 23:00:09 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-12-07 23:00:09 +0100
commitf4a9fdb3357ce1a2dfc12cbb0fee6b915bc810c4 (patch)
treef250376867477ac309d9fed4333224efe2d3969d /src/lib.rs
parent647e3646c2f686ce236059b935336c43c8a9a074 (diff)
downloadjuicebox-asm-f4a9fdb3357ce1a2dfc12cbb0fee6b915bc810c4.tar.gz
juicebox-asm-f4a9fdb3357ce1a2dfc12cbb0fee6b915bc810c4.zip
remove prelude
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 8348435..65d70b5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -2,7 +2,8 @@
//!
//! The following is an fibonacci example implementation.
//! ```rust
-//! use juicebox_asm::prelude::*;
+//! use juicebox_asm::{Asm, Reg64, Imm64, Label};
+//! use juicebox_asm::insn::*;
//! use juicebox_asm::Runtime;
//!
//! const fn fib_rs(n: u64) -> u64 {
@@ -72,14 +73,13 @@
//! }
//! ```
-pub mod prelude;
-
mod imm;
-mod insn;
mod label;
mod reg;
mod rt;
+pub mod insn;
+
pub use imm::{Imm16, Imm32, Imm64, Imm8};
pub use label::Label;
pub use reg::{Reg16, Reg32, Reg64, Reg8};