tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 5ab5c8ec15de7a54c9196b9adcfda6042d4db5e4
parent 48e990359b05661f2dd0ae503143ee9b18442475
Author: teor <teor@torproject.org>
Date:   Mon, 15 Apr 2019 10:15:02 +1000

Merge branch 'rust-panic1' into rust-panic1-034

Diffstat:
Achanges/bug27199 | 3+++
Msrc/rust/Cargo.toml | 10++++++++++
2 files changed, 13 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,7 +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"