From 72e6d49d4dbf9a2573fe058183f8dd489a4f12e9 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Tue, 21 Jun 2022 01:44:58 +0000 Subject: [PATCH] Add release-with-debug profile --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 9b5e910..ebcc3ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,6 +44,10 @@ avdict = ["bindgen", "cmake", "flagset"] exif = ["bindgen", "c_fixed_string", "cmake", "link-cplusplus", "utf16string"] ugoira = ["avdict", "bindgen", "cmake", "link-cplusplus"] +[profile.release-with-debug] +inherits = "release" +debug = true + [target.'cfg(windows)'.dependencies] winapi = { version = "0.3.9", features = ["winnls", "stringapiset"] }