-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Coverage when spawning target/{profile}/{bin_name}
in llvm-cov nextest --workspace
?
#321
Comments
Binaries are supported, but coverage is not collected if the process is killed without completing (#235, limitation of LLVM/rustc.) If it does not work, please provide a reproduction of the problem. |
Since Rust 1.55, Cargo does not pass the RUSTFLAGS environment variable to the build script. CARGO_ENCODED_RUSTFLAGS is passed instead. (rust-lang/cargo#9601) |
I ran into this issue but it turns out that I did |
I have integration tests that invoke the binary to test it comprehensively. It would be nice if coverage can be collected from the binary too.
Before opening this issue ticket, I have tested it by inspecting
std::env::var("RUSTFLAGS")
inbuild.rs
but anErr
was returned.The text was updated successfully, but these errors were encountered: