2024-05-21 12:55:51 -04:00
|
|
|
From f501f7c02df4f0ff5d5f100d9eeb74cd4d12ea3d Mon Sep 17 00:00:00 2001
|
2022-05-28 11:20:07 -04:00
|
|
|
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>
|
2022-11-15 12:25:32 -05:00
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
---
|
2022-11-15 12:25:32 -05:00
|
|
|
Cargo.toml | 2 --
|
|
|
|
1 file changed, 2 deletions(-)
|
2022-05-28 11:20:07 -04:00
|
|
|
|
2022-11-15 12:25:32 -05:00
|
|
|
diff --git a/Cargo.toml b/Cargo.toml
|
2023-09-29 12:46:16 -04:00
|
|
|
index a2718b2f35..4e231c30e8 100644
|
2022-05-28 11:20:07 -04:00
|
|
|
--- a/Cargo.toml
|
|
|
|
+++ b/Cargo.toml
|
2023-09-29 12:46:16 -04:00
|
|
|
@@ -59,13 +59,11 @@ opt-level = 1
|
2022-05-28 11:20:07 -04:00
|
|
|
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.
|