about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-04-04 05:24:54 +0000
committerbors <bors@rust-lang.org>2019-04-04 05:24:54 +0000
commitf717b58dd70829f105960a071c7992b440720482 (patch)
tree93d798116dc2a7156982905e6cfcd536a6a0777a /src/libstd
parenta5dfdc589a1b44f01cb640cd0244372dcbbd6f37 (diff)
parent86d1678403a46cd30019487dcc21166c1d09a597 (diff)
downloadrust-f717b58dd70829f105960a071c7992b440720482.tar.gz
rust-f717b58dd70829f105960a071c7992b440720482.zip
Auto merge of #59089 - petrhosek:llvm-unwind, r=petrhosek
Support using LLVM's libunwind as the unwinder implementation

This avoids the dependency on host libraries such as libgcc_s which
may be undesirable in some deployment environments where these aren't
available.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/Cargo.toml b/src/libstd/Cargo.toml
index 9ac03adfc27..875483518e8 100644
--- a/src/libstd/Cargo.toml
+++ b/src/libstd/Cargo.toml
@@ -54,6 +54,7 @@ backtrace = ["backtrace-sys"]
 panic-unwind = ["panic_unwind"]
 profiler = ["profiler_builtins"]
 compiler_builtins_c = ["compiler_builtins/c"]
+llvm-libunwind = ["unwind/llvm-libunwind"]
 
 # Make panics and failed asserts immediately abort without formatting any message
 panic_immediate_abort = ["core/panic_immediate_abort"]