From 1ed08204cd845f69fde177ffa31e1f03a6470739 Mon Sep 17 00:00:00 2001 From: kellda <59569234+kellda@users.noreply.github.com> Date: Sat, 25 Jul 2020 08:50:45 +0000 Subject: [PATCH] Implement `least` integer types --- src/fixed_width_ints.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/fixed_width_ints.rs b/src/fixed_width_ints.rs index 014640855fa30..76c106879d82c 100644 --- a/src/fixed_width_ints.rs +++ b/src/fixed_width_ints.rs @@ -18,3 +18,12 @@ pub type uint16_t = u16; pub type uint32_t = u32; #[deprecated(since = "0.2.55", note = "Use u64 instead.")] pub type uint64_t = u64; + +pub type int_least8_t = i8; +pub type int_least16_t = i16; +pub type int_least32_t = i32; +pub type int_least64_t = i64; +pub type uint_least8_t = u8; +pub type uint_least16_t = u16; +pub type uint_least32_t = u32; +pub type uint_least64_t = u64;