aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 85ac7f2..27bd00f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -22,6 +22,13 @@ pub mod bits32;
pub mod bits64;
pub mod shared;
+pub mod current {
+ #[cfg(target_arch="x86")]
+ pub use bits32::*;
+ #[cfg(target_arch="x86_64")]
+ pub use bits64::*;
+}
+
mod std {
pub use core::fmt;
pub use core::ops;