From fbf98ce536e319086424ee34f462eee11eeffcf0 Mon Sep 17 00:00:00 2001 From: librelois <elois@ifee.fr> Date: Wed, 17 Apr 2019 23:18:16 +0200 Subject: [PATCH] [fix] whole: #131 if a thread panic, abort whole program --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index da7e4e4f..efc3bc36 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,3 +23,9 @@ members = [ "lib/tests-tools/rust-tests-tools", "lib/tools/wot", ] + +[profile.dev] +panic = 'abort' + +[profile.release] +panic = 'abort' \ No newline at end of file -- GitLab