diff options
| author | Petr Hosek <phosek@google.com> | 2019-03-10 19:27:59 -0700 |
|---|---|---|
| committer | Petr Hosek <phosek@google.com> | 2019-04-03 11:21:40 -0700 |
| commit | 86d1678403a46cd30019487dcc21166c1d09a597 (patch) | |
| tree | 765a9eb89d418d413df0d816ccf96fdbfbf30d89 /src/libstd | |
| parent | f8673e0ad85e98997faa76fa7edc99c5825f46ee (diff) | |
| download | rust-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.toml | 1 |
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"] |
