blob: e8dfdea1e95201da2c3888670a696cf8945ef0f1 [file] [log] [blame]
Andrew Geissler220dafd2023-10-04 10:18:08 -05001From f501f7c02df4f0ff5d5f100d9eeb74cd4d12ea3d 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---
12 Cargo.toml | 2 --
13 1 file changed, 2 deletions(-)
14
15diff --git a/Cargo.toml b/Cargo.toml
16index a2718b2f35..4e231c30e8 100644
17--- a/Cargo.toml
18+++ b/Cargo.toml
19@@ -59,13 +59,11 @@ opt-level = 1
20 rpath = false
21 lto = false
22 debug-assertions = true
23-panic = "abort"
24
25 [profile.release]
26 opt-level = 2
27 rpath = false
28 debug-assertions = false
29-panic = "abort"
30
31 # Optimize build dependencies, because bindgen and proc macros / style
32 # compilation take more to run than to build otherwise.