aboutsummaryrefslogtreecommitdiff
path: root/src/rust
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-04-15 10:18:59 +1000
committerteor <teor@torproject.org>2019-04-15 10:18:59 +1000
commit1177818c3211e5346c7196d5fbbbd6c9079bef41 (patch)
treee9e94f1ec18a33830f7816027fa204f13d7de400 /src/rust
parent454bdb22eeb4637a8bb5e40deb8454311f4ba4a2 (diff)
parenta6d0420f7cfe899d8953fdaee6ba3c0714b297b8 (diff)
downloadtor-1177818c3211e5346c7196d5fbbbd6c9079bef41.tar.gz
tor-1177818c3211e5346c7196d5fbbbd6c9079bef41.zip
Merge branch 'rust-panic1-035' into rust-panic1-040
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"