From 2df03bfdca16c23aaa7c3e10a876924edcd18469 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sat, 28 Jul 2012 14:14:17 -0700 Subject: [PATCH] core: Correct exports of intrinsic ops --- src/libcore/core.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/libcore/core.rs b/src/libcore/core.rs index f0228a00983b..f015db983284 100644 --- a/src/libcore/core.rs +++ b/src/libcore/core.rs @@ -49,14 +49,16 @@ export ptr; #[cfg(notest)] import ops::{const, copy, send, owned}; #[cfg(notest)] -import ops::{add, sub, mul, div, modulo, neg, bitand, bitor, bitxor, shl}; +import ops::{add, sub, mul, div, modulo, neg, bitand, bitor, bitxor}; #[cfg(notest)] -import ops::{shr, index}; +import ops::{shl, shr, index}; #[cfg(notest)] export const, copy, send, owned; #[cfg(notest)] -export add, sub, mul, div, modulo, neg, bitops, index; +export add, sub, mul, div, modulo, neg, bitand, bitor, bitxor; +#[cfg(notest)] +export shl, shr, index; // Export the log levels as global constants. Higher levels mean // more-verbosity. Error is the bottom level, default logging level is