From 8e284c5b6bc07a94c9a97e5075ab573c351d270b Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Mon, 6 Apr 2020 12:59:37 -0700 Subject: [PATCH] Cargo.toml: enable debug symbols in release profile Maybe now we'll be able to read the backtraces generated by `error-chain` via `hubcaps`. --- ofborg/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ofborg/Cargo.toml b/ofborg/Cargo.toml index db55092..e106079 100644 --- a/ofborg/Cargo.toml +++ b/ofborg/Cargo.toml @@ -29,6 +29,9 @@ sys-info = "0.5.6" chrono = "0.4.6" separator = "0.4.1" +[profile.release] +debug = true + [patch.crates-io] #hubcaps = { path = "../hubcaps" } #amq-proto = { path = "rust-amq-proto" }