From de32ddad23abbc831ae60d5efefab0df84e8910b Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Wed, 12 Jun 2019 20:54:38 +0200 Subject: [WIP] Basic i128 support --- example/mini_core.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'example/mini_core.rs') diff --git a/example/mini_core.rs b/example/mini_core.rs index 8c372450abd..745e86de485 100644 --- a/example/mini_core.rs +++ b/example/mini_core.rs @@ -144,6 +144,14 @@ impl Add for usize { } } +impl Add for u128 { + type Output = Self; + + fn add(self, rhs: Self) -> Self { + self + rhs + } +} + #[lang = "sub"] pub trait Sub { type Output; -- cgit 1.4.1-3-g733a5