Skip to content

Commit 7199811

Browse files
committed
---
yaml --- r: 171017 b: refs/heads/try c: efaa43a h: refs/heads/master i: 171015: d719177 v: v3
1 parent ad44de3 commit 7199811

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
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: 73a25f55ad748b4d3516417c711b99ce446591af
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 5b3cd3900ceda838f5798c30ab96ceb41f962534
5-
refs/heads/try: f67a7227b7052608a23d1e324c29f8ec6addf58a
5+
refs/heads/try: efaa43ade5cbc6636c955581384324c8f7ace940
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/liballoc/heap.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const MIN_ALIGN: uint = 8;
124124
target_arch = "aarch64"))]
125125
const MIN_ALIGN: uint = 16;
126126

127-
#[cfg(external_funcs)]
127+
#[cfg(feature = "external_funcs")]
128128
mod imp {
129129
extern {
130130
fn rust_allocate(size: uint, align: uint) -> *mut u8;
@@ -169,14 +169,14 @@ mod imp {
169169
}
170170
}
171171

172-
#[cfg(external_crate)]
172+
#[cfg(feature = "external_crate")]
173173
mod imp {
174174
extern crate external;
175175
pub use self::external::{allocate, deallocate, reallocate_inplace, reallocate};
176176
pub use self::external::{usable_size, stats_print};
177177
}
178178

179-
#[cfg(all(not(external_funcs), not(external_crate), jemalloc))]
179+
#[cfg(all(not(feature = "external_funcs"), not(feature = "external_crate"), jemalloc))]
180180
mod imp {
181181
use core::option::Option;
182182
use core::option::Option::None;
@@ -253,7 +253,7 @@ mod imp {
253253
}
254254
}
255255

256-
#[cfg(all(not(external_funcs), not(external_crate), not(jemalloc), unix))]
256+
#[cfg(all(not(feature = "external_funcs"), not(feature = "external_crate"), not(jemalloc), unix))]
257257
mod imp {
258258
use core::cmp;
259259
use core::ptr;
@@ -314,7 +314,7 @@ mod imp {
314314
pub fn stats_print() {}
315315
}
316316

317-
#[cfg(all(not(external_funcs), not(external_crate), not(jemalloc), windows))]
317+
#[cfg(all(not(feature = "external_funcs"), not(feature = "external_crate"), not(jemalloc), windows))]
318318
mod imp {
319319
use libc::{c_void, size_t};
320320
use libc;

branches/try/src/liballoc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
#[macro_use]
7171
extern crate core;
7272

73-
#[cfg(all(not(external_funcs), not(external_crate)))]
73+
#[cfg(all(not(feature = "external_funcs"), not(feature = "external_crate")))]
7474
extern crate libc;
7575

7676
// Allow testing this library

0 commit comments

Comments
 (0)