Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 1 | From 9e37248870b2b955293754933c789ca00bca06ef Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex@linutronix.de> |
| 3 | Date: Fri, 1 Oct 2021 13:00:24 +0200 |
| 4 | Subject: [PATCH] Cargo.toml: do not abort on panic |
| 5 | |
| 6 | OE's rust is configured to unwind, and this setting clashes with it/ |
| 7 | |
| 8 | Upstream-Status: Inappropriate [OE specific] |
| 9 | |
| 10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> |
| 11 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> |
| 12 | --- |
| 13 | Cargo.toml | 2 -- |
| 14 | 1 file changed, 2 deletions(-) |
| 15 | |
| 16 | diff --git a/Cargo.toml b/Cargo.toml |
| 17 | index 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" } |