diff options
author | teor <teor@torproject.org> | 2019-04-19 11:47:10 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-04-19 11:47:10 +1000 |
commit | 116970dda7d04bfdc1cff0034d5ee9969a6754c4 (patch) | |
tree | 4b2eaaad63918a675349ed5b2d6461c1759e2cbf | |
parent | b1762f8d1254a89cd181ecf41db666d9bc75fa34 (diff) | |
parent | 5ab5c8ec15de7a54c9196b9adcfda6042d4db5e4 (diff) | |
download | tor-116970dda7d04bfdc1cff0034d5ee9969a6754c4.tar.gz tor-116970dda7d04bfdc1cff0034d5ee9969a6754c4.zip |
Merge remote-tracking branch 'tor-github/pr/946' into maint-0.3.4
-rw-r--r-- | changes/bug27199 | 3 | ||||
-rw-r--r-- | src/rust/Cargo.toml | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/changes/bug27199 b/changes/bug27199 new file mode 100644 index 0000000000..f9d2a422f9 --- /dev/null +++ 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 index c3e44d2a79..de8693ea33 100644 --- 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" |