Selaa lähdekoodia

Use panic=abort for tests

Try to fix issues with undefined `rust_eh_personality` symbols
Alex Crichton 6 vuotta sitten
vanhempi
commit
d74c506aab
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  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'