blob: 665eace665f66da8a2f96a4e7a6e49854f230fd2 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001From 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 specific]
9
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
12---
13 Cargo.toml | 2 --
14 1 file changed, 2 deletions(-)
15
16diff --git a/Cargo.toml b/Cargo.toml
17index 897daad41b..505454263e 100644
18--- a/Cargo.toml
19+++ b/Cargo.toml
20@@ -56,13 +56,11 @@ opt-level = 1
21 rpath = false
22 lto = false
23 debug-assertions = true
24-panic = "abort"
25
26 [profile.release]
27 opt-level = 2
28 rpath = false
29 debug-assertions = false
30-panic = "abort"
31
32 [patch.crates-io]
33 libudev-sys = { path = "dom/webauthn/libudev-sys" }