citadel/meta-gnome/recipes-support/mozjs/mozjs-115/0001-Cargo.toml-do-not-abort-on-panic.patch

33 lines
872 B
Diff
Raw Normal View History

From c7ab27681ff5e0ac9e8ad36e5a9cb33eeffcbd56 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-core specific]
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
Cargo.toml | 2 --
1 file changed, 2 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
index a2718b2f35..4e231c30e8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -59,13 +59,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"
# Optimize build dependencies, because bindgen and proc macros / style
# compilation take more to run than to build otherwise.