aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/add.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/add.rs')
-rw-r--r--examples/add.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/add.rs b/examples/add.rs
index 6935803..687d205 100644
--- a/examples/add.rs
+++ b/examples/add.rs
@@ -6,9 +6,9 @@
#[cfg(not(any(target_arch = "x86_64", target_os = "linux")))]
compile_error!("Only supported on x86_64 with SystemV abi");
-use juicebox_asm::prelude::*;
+use juicebox_asm::insn::*;
use juicebox_asm::Runtime;
-use Reg64::*;
+use juicebox_asm::{Asm, Imm64, Reg64::*};
extern "C" fn add(a: u32, b: u32) -> u32 {
a + b