From b39475f9e3ea2511965deb9f0b5ce2067c401adb Mon Sep 17 00:00:00 2001 From: jtmoon79 <815261+jtmoon79@users.noreply.github.com> Date: Tue, 20 Sep 2022 18:13:20 -0700 Subject: [PATCH] Cargo remove proc-macro=true proc-macro causes failure during `cargo test` error: the linked panic runtime `panic_unwind` is not compiled with this crate's panic strategy `abort` --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 82693f2..db68a78 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,4 +33,7 @@ edition = "2021" test = true doc = true doctest = true -proc-macro = true +# Do not set `proc-macro = true` +# It will cause failure to run grcov `cargo test: +# error: the linked panic runtime `panic_unwind` is not compiled with this +# crate's panic strategy `abort`