Files
meta-gnome-forks/recipes-support/mozjs/mozjs-78/0004-Cargo.toml-do-not-abort-on-panic.patch
2022-10-15 14:47:52 +02:00

34 lines
867 B
Diff

From 9e37248870b2b955293754933c789ca00bca06ef Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Fri, 1 Oct 2021 13:00:24 +0200
Subject: [PATCH] Cargo.toml: do not abort on panic
OE's rust is configured to unwind, and this setting clashes with it/
Upstream-Status: Inappropriate [OE specific]
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
Cargo.toml | 2 --
1 file changed, 2 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
index 897daad41b..505454263e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -56,13 +56,11 @@ opt-level = 1
rpath = false
lto = false
debug-assertions = true
-panic = "abort"
[profile.release]
opt-level = 2
rpath = false
debug-assertions = false
-panic = "abort"
[patch.crates-io]
libudev-sys = { path = "dom/webauthn/libudev-sys" }