-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tonic-health fails to build when RUSTFLAGS="-Cpanic=abort" #496
Comments
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 |
@AndiDog I didn't manage to solve it, I moved to the rust nightly feature for code coverage: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:/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: