You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux ben-XPS-13-9380 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Crates
tonic-health="0.2"
Description
Clone this repository
export RUSTFLAGS="-Cpanic=abort"
cd tonic-health
cargo build
Cargo build fails and results in the following error:
error: failed to run custom build command for `tonic-health v0.2.0 (/home/ben/tonic/tonic-health)`
Caused by:
process didn't exit successfully: `/home/ben/tonic/target/debug/build/tonic-health-667a60089c432488/build-script-build` (signal: 6, SIGABRT: process abort signal)
The requirement for using the -Cpanic=abort flag is for code coverage. See https://github.com/mozilla/grcov. To get the correct coverage level, we need to compile our project with this flag, but tonic-health prevents this.
The text was updated successfully, but these errors were encountered:
How did you solve it? I'm seeing this with tonic-build 0.3.1 with prost 0.6.1 and my build.rs aborts. Usage of -Cpanic=abort is also for grcov. I tried running cargo build first and then overriding the flags while running the tests via grcov, but that doesn't work.
Bug Report
Version
tonic-health v0.2.0
└── tonic-build v0.3.1
Platform
Linux ben-XPS-13-9380 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Crates
tonic-health="0.2"
Description
Clone this repository
export RUSTFLAGS="-Cpanic=abort"
cd tonic-health
cargo build
Cargo build fails and results in the following error:
The requirement for using the
-Cpanic=abort
flag is for code coverage. See https://github.com/mozilla/grcov. To get the correct coverage level, we need to compile our project with this flag, buttonic-health
prevents this.The text was updated successfully, but these errors were encountered: