about summary refs log tree commit diff
path: root/src/rt/jemalloc/test/aligned_alloc.exp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-09-25 00:56:18 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-09-25 11:40:30 -0700
commit324418f32bd0d82f20dd79327dff1e3c78b719d2 (patch)
tree32af46820e6ba813c1c6c7211075099745fc25c2 /src/rt/jemalloc/test/aligned_alloc.exp
parent753547963340cb973210ad2df5590c29bf46ddf1 (diff)
downloadrust-324418f32bd0d82f20dd79327dff1e3c78b719d2.tar.gz
rust-324418f32bd0d82f20dd79327dff1e3c78b719d2.zip
Don't die in try_unsafe_borrow if tls isn't ready
If there's no TLS key just yet, then there's nothing to unsafely borrow, so
continue returning None. This prevents causing the runtime to abort itself when
logging before the runtime is fully initialized.

Closes #9487
Diffstat (limited to 'src/rt/jemalloc/test/aligned_alloc.exp')
0 files changed, 0 insertions, 0 deletions