about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2019-03-10 19:27:59 -0700
committerPetr Hosek <phosek@google.com>2019-04-03 11:21:40 -0700
commit86d1678403a46cd30019487dcc21166c1d09a597 (patch)
tree765a9eb89d418d413df0d816ccf96fdbfbf30d89 /src/libstd
parentf8673e0ad85e98997faa76fa7edc99c5825f46ee (diff)
downloadrust-86d1678403a46cd30019487dcc21166c1d09a597.tar.gz
rust-86d1678403a46cd30019487dcc21166c1d09a597.zip
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"]