]> git.lizzy.rs Git - rust.git/commit
Auto merge of #45523 - alexcrichton:improve-libbacktrace, r=sfackler
authorbors <bors@rust-lang.org>
Thu, 26 Oct 2017 23:48:16 +0000 (23:48 +0000)
committerbors <bors@rust-lang.org>
Thu, 26 Oct 2017 23:48:16 +0000 (23:48 +0000)
commitbb37bc1c6189b69b56ed7722b8e3e9aa2d6c1500
tree6a7bad2a6bf18c291d730a073e1df32450dc2df9
parent847f4fcf5f4d1f79e7f53788ea0dc015d676a549
parent2f3c412c84712f2159ccf5c174ac716d19925d68
Auto merge of #45523 - alexcrichton:improve-libbacktrace, r=sfackler

std: Disable usage of mmap allocator in libbacktrace

This is sort of a long overdue change from the investigation in #29293
and #37477. The released binaries of rustc don't have debug information and so
don't actively suffer this problem but this can hit local development of rustc
and also larger programs compiled against libstd generating backtraces.

The main purpose of the mmap allocator in libacktrace is to be usable from a
signal handler, but we don't do that, so the normal allocator using malloc/free
should work well for us.