// option. This file may not be copied, modified, or distributed
// except according to those terms.
- //! Operations and constants for architecture-sized signed integers (`int` type)
+ //! Deprecated: replaced by `isize`.
+ //!
+ //! The rollout of the new type will gradually take place over the
+ //! alpha cycle along with the development of clearer conventions
+ //! around integer types.
- #![stable]
- #![doc(primitive = "int")]
+ #![deprecated = "replaced by isize"]
-#[cfg(target_word_size = "32")] int_module! { int, 32 }
-#[cfg(target_word_size = "64")] int_module! { int, 64 }
+#[cfg(stage0)] #[cfg(target_word_size = "32")] int_module! { int, 32 }
+#[cfg(stage0)] #[cfg(target_word_size = "64")] int_module! { int, 64 }
+
+#[cfg(not(stage0))] #[cfg(target_pointer_width = "32")] int_module! { int, 32 }
+#[cfg(not(stage0))] #[cfg(target_pointer_width = "64")] int_module! { int, 64 }
html_root_url = "http://doc.rust-lang.org/nightly/",
html_playground_url = "http://play.rust-lang.org/")]
#![allow(unknown_features)]
--#![feature(slicing_syntax)]
+#![cfg_attr(stage0, allow(unused_attributes))]
+ #![feature(old_impl_check)]
++#![feature(slicing_syntax)]
// test harness access
#[cfg(test)] extern crate test;
#[cfg(not(test))] pub use core::cmp;
pub use core::default;
pub use core::finally;
+pub use core::hash;
pub use core::intrinsics;
pub use core::iter;
- #[cfg(stage0)] #[cfg(not(test))] pub use core::marker as kinds;
#[cfg(not(test))] pub use core::marker;
pub use core::mem;
#[cfg(not(test))] pub use core::ops;