diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-12-07 23:00:09 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-12-07 23:00:09 +0100 |
commit | f4a9fdb3357ce1a2dfc12cbb0fee6b915bc810c4 (patch) | |
tree | f250376867477ac309d9fed4333224efe2d3969d /src/lib.rs | |
parent | 647e3646c2f686ce236059b935336c43c8a9a074 (diff) | |
download | juicebox-asm-f4a9fdb3357ce1a2dfc12cbb0fee6b915bc810c4.tar.gz juicebox-asm-f4a9fdb3357ce1a2dfc12cbb0fee6b915bc810c4.zip |
remove prelude
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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}; |