Browse Source

Use panic=abort for tests

Try to fix issues with undefined `rust_eh_personality` symbols
Alex Crichton 6 năm trước cách đây
mục cha
commit
d74c506aab
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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'