summaryrefslogtreecommitdiff
path: root/src/rust
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-04-15 10:18:01 +1000
committerteor <teor@torproject.org>2019-04-15 10:18:01 +1000
commita6d0420f7cfe899d8953fdaee6ba3c0714b297b8 (patch)
tree39871be041b554a5987f46145c1868cb65d41bcb /src/rust
parent9f3f99938e441c09c1b3bf64510b8fb682dba007 (diff)
parent5ab5c8ec15de7a54c9196b9adcfda6042d4db5e4 (diff)
downloadtor-a6d0420f7cfe899d8953fdaee6ba3c0714b297b8.tar.gz
tor-a6d0420f7cfe899d8953fdaee6ba3c0714b297b8.zip
Merge branch 'rust-panic1-034' into rust-panic1-035
Trivial merge: a blank line was removed between 0.3.4 and 0.3.5.
Diffstat (limited to 'src/rust')
-rw-r--r--src/rust/Cargo.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml
index 83f9629660..de8693ea33 100644
--- 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"