commit 3f9efc5e88f4c0eaffb3f06ba58a99e8b5d59f83 parent 7b386f2356c9c706e9432b19058dee8147030056 Author: George Kadianakis <desnacked@riseup.net> Date: Mon, 15 Apr 2019 13:56:48 +0300 Merge branch 'maint-0.4.0' Diffstat:
| A | changes/bug27199 | | | 3 | +++ |
| M | src/rust/Cargo.toml | | | 11 | +++++++++++ |
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/changes/bug27199 b/changes/bug27199 @@ -0,0 +1,3 @@ + o Minor bugfixes (rust): + - Abort on panic in all build profiles, instead of potentially unwinding + into C code. Fixes bug 27199; bugfix on 0.3.3.1-alpha. diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml @@ -10,6 +10,17 @@ members = [ "tor_util", ] +# Can remove panic="abort" when this issue is fixed: +# https://github.com/rust-lang/rust/issues/52652 +[profile.dev] +panic = "abort" + [profile.release] debug = true panic = "abort" + +[profile.test] +panic = "abort" + +[profile.bench] +panic = "abort"