Merge remote-tracking branch 'tor-github/pr/946' into maint-0.3.4

This commit is contained in:
teor 2019-04-19 11:47:10 +10:00
commit 116970dda7
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A
2 changed files with 13 additions and 0 deletions

3
changes/bug27199 Normal file
View File

@ -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.

View File

@ -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"