1From 9e37248870b2b955293754933c789ca00bca06ef Mon Sep 17 00:00:00 2001 2From: Alexander Kanavin <alex@linutronix.de> 3Date: Fri, 1 Oct 2021 13:00:24 +0200 4Subject: [PATCH] Cargo.toml: do not abort on panic 5 6OE's rust is configured to unwind, and this setting clashes with it/ 7 8Upstream-Status: Inappropriate [oe-core specific] 9Signed-off-by: Alexander Kanavin <alex@linutronix.de> 10--- 11 Cargo.toml | 3 +-- 12 1 file changed, 1 insertion(+), 2 deletions(-) 13 14--- a/Cargo.toml 15+++ b/Cargo.toml 16@@ -51,13 +51,11 @@ opt-level = 1 17 rpath = false 18 lto = false 19 debug-assertions = true 20-panic = "abort" 21 22 [profile.release] 23 opt-level = 2 24 rpath = false 25 debug-assertions = false 26-panic = "abort" 27 28 # Optimize build dependencies, because bindgen and proc macros / style 29 # compilation take more to run than to build otherwise. 30