From d74c506aab3efa3ca7a82c23f8a2ce7fe62351a0 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 21 Nov 2018 10:19:31 -0800 Subject: [PATCH] Use panic=abort for tests Try to fix issues with undefined `rust_eh_personality` symbols --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 0bbd22e..a7f34c0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,3 +46,9 @@ required-features = ["c", "compiler-builtins"] [workspace] members = ["testcrate"] + +[profile.release] +panic = 'abort' + +[profile.dev] +panic = 'abort'