From 9fdc957019b94922c303071945fac62c4ee50079 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 --- library/compiler-builtins/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/library/compiler-builtins/Cargo.toml b/library/compiler-builtins/Cargo.toml index 0bbd22e463ac..a7f34c007a6c 100644 --- a/library/compiler-builtins/Cargo.toml +++ b/library/compiler-builtins/Cargo.toml @@ -46,3 +46,9 @@ required-features = ["c", "compiler-builtins"] [workspace] members = ["testcrate"] + +[profile.release] +panic = 'abort' + +[profile.dev] +panic = 'abort'