Gentoo Archives: gentoo-commits

From: "Jauhien Piatlicki (jauhien)" <jauhien@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/rust/files: rust-0.11.0-stage0.patch
Date: Thu, 31 Jul 2014 09:52:44
Message-Id: 20140731095241.015B62004E@flycatcher.gentoo.org
1 jauhien 14/07/31 09:52:40
2
3 Added: rust-0.11.0-stage0.patch
4 Log:
5 version bump, closing bug #516466
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB2EFA1D4)
8
9 Revision Changes Path
10 1.1 dev-lang/rust/files/rust-0.11.0-stage0.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust/files/rust-0.11.0-stage0.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust/files/rust-0.11.0-stage0.patch?rev=1.1&content-type=text/plain
14
15 Index: rust-0.11.0-stage0.patch
16 ===================================================================
17 --- src/libcore/ops.rs
18 +++ src/libcore/ops.rs
19 @@ -570,12 +570,6 @@
20
21 macro_rules! shl_impl(
22 ($($t:ty)*) => ($(
23 - #[cfg(stage0)]
24 - impl Shl<$t, $t> for $t {
25 - #[inline]
26 - fn shl(&self, other: &$t) -> $t { (*self) << (*other) }
27 - }
28 - #[cfg(not(stage0), not(test))]
29 impl Shl<$t, $t> for $t {
30 #[inline]
31 fn shl(&self, other: &$t) -> $t {
32 @@ -619,12 +613,6 @@
33
34 macro_rules! shr_impl(
35 ($($t:ty)*) => ($(
36 - #[cfg(stage0, not(test))]
37 - impl Shr<$t, $t> for $t {
38 - #[inline]
39 - fn shr(&self, other: &$t) -> $t { (*self) >> (*other) }
40 - }
41 - #[cfg(not(stage0), not(test))]
42 impl Shr<$t, $t> for $t {
43 #[inline]
44 fn shr(&self, other: &$t) -> $t { (*self) >> (*other as uint) }