Skip to content

Commit ee48d83

Browse files
committed
---
yaml --- r: 135925 b: refs/heads/try c: 1e0c7b6 h: refs/heads/master i: 135923: 1c61d9c v: v3
1 parent bb598e4 commit ee48d83

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 8794107f74682607f368776cc8b78820629778e6
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ae81c89f34f1ac2cdb596cf216612e94822a8466
5-
refs/heads/try: c76151529a79bf85f54d95cf41876d83a0fdad1d
5+
refs/heads/try: 1e0c7b682f1675e39085f1f0f928a37364bab9c7
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/liballoc/heap.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ unsafe fn exchange_free(ptr: *mut u8, size: uint, align: uint) {
111111
// The minimum alignment guaranteed by the architecture. This value is used to
112112
// add fast paths for low alignment values. In practice, the alignment is a
113113
// constant at the call site and the branch will be optimized out.
114-
#[cfg(target_arch = "arm")]
115-
#[cfg(target_arch = "mips")]
116-
#[cfg(target_arch = "mipsel")]
114+
#[cfg(any(target_arch = "arm",
115+
target_arch = "mips",
116+
target_arch = "mipsel"))]
117117
static MIN_ALIGN: uint = 8;
118-
#[cfg(target_arch = "x86")]
119-
#[cfg(target_arch = "x86_64")]
118+
#[cfg(any(target_arch = "x86",
119+
target_arch = "x86_64"))]
120120
static MIN_ALIGN: uint = 16;
121121

122122
#[cfg(jemalloc)]
@@ -146,7 +146,7 @@ mod imp {
146146
}
147147

148148
// -lpthread needs to occur after -ljemalloc, the earlier argument isn't enough
149-
#[cfg(not(windows), not(target_os = "android"))]
149+
#[cfg(all(not(windows), not(target_os = "android")))]
150150
#[link(name = "pthread")]
151151
extern {}
152152

@@ -206,7 +206,7 @@ mod imp {
206206
}
207207
}
208208

209-
#[cfg(not(jemalloc), unix)]
209+
#[cfg(all(not(jemalloc), unix))]
210210
mod imp {
211211
use core::cmp;
212212
use core::ptr;
@@ -268,7 +268,7 @@ mod imp {
268268
pub fn stats_print() {}
269269
}
270270

271-
#[cfg(not(jemalloc), windows)]
271+
#[cfg(all(not(jemalloc), windows))]
272272
mod imp {
273273
use libc::{c_void, size_t};
274274
use libc;

0 commit comments

Comments
 (0)