summaryrefslogtreecommitdiff
path: root/src/rust
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-04-15 10:15:02 +1000
committerteor <teor@torproject.org>2019-04-15 10:15:02 +1000
commit5ab5c8ec15de7a54c9196b9adcfda6042d4db5e4 (patch)
tree15ab5440aec147a8d3670fc52191097fec0b38bd /src/rust
parent48e990359b05661f2dd0ae503143ee9b18442475 (diff)
parentfecd583c0e7e580f07d81b24b1a3522c52938c61 (diff)
downloadtor-5ab5c8ec15de7a54c9196b9adcfda6042d4db5e4.tar.gz
tor-5ab5c8ec15de7a54c9196b9adcfda6042d4db5e4.zip
Merge branch 'rust-panic1' into rust-panic1-034
Diffstat (limited to 'src/rust')
-rw-r--r--src/rust/Cargo.toml10
1 files changed, 10 insertions, 0 deletions
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"