diff options
Diffstat (limited to 'src/libstd/rt/local_heap.rs')
| -rw-r--r-- | src/libstd/rt/local_heap.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/rt/local_heap.rs b/src/libstd/rt/local_heap.rs index c98a66453eb..2386a261bdf 100644 --- a/src/libstd/rt/local_heap.rs +++ b/src/libstd/rt/local_heap.rs @@ -25,7 +25,9 @@ use unstable::intrinsics::TyDesc; use unstable::raw; // This has no meaning with out rtdebug also turned on. +#[cfg(rtdebug)] static TRACK_ALLOCATIONS: int = 0; +#[cfg(rtdebug)] static MAGIC: u32 = 0xbadc0ffe; pub type Box = raw::Box<()>; |
