Browse Source

Use panic=abort for tests

Try to fix issues with undefined `rust_eh_personality` symbols
Alex Crichton 6 years ago
parent
commit
d74c506aab
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Cargo.toml

+ 6 - 0
Cargo.toml

@@ -46,3 +46,9 @@ required-features = ["c", "compiler-builtins"]
 
 [workspace]
 members = ["testcrate"]
+
+[profile.release]
+panic = 'abort'
+
+[profile.dev]
+panic = 'abort'