Closed jhpratt closed 3 years ago
I'm not sure what we can do about this on our side...
object_files
function.object_files
function does not currently search "target/tests/target".Hmm…that's odd. What does compiletest_rs do differently that it is covered?
Just coming back to this. I just looked through trybuild's code and see nothing that could conceivably be changed to help this. It (unfortunately) looks like this has to be handled on llvm-cov's end if my understanding is correct. As far as I can tell the bullet points you've listed are correct as they relate to trybuild.
I just found a way to fix this.
This will be fixed by #44 and https://github.com/dtolnay/trybuild/pull/121.
You're a wizard, what can I say. You always find a way to do things, and generally quite quickly at that.
🚀 thank you, really excited to see this!
trybuild 1.0.44 yanked due to regression: https://github.com/dtolnay/trybuild/issues/122
FYI: 1.0.34 or older versions of trybuild provide similar behavior to 1.0.44, so you can work around this issue by pinning trybuild to those versions for now.
trybuild = "=1.0.34"
Currently, the trybuild crate does not contribute anything to the coverage report. I'm not sure whether this should be fixed in cargo-llvm-cov or trybuild. compiletest_rs, on the other hand, does contribute to the coverage report (but is far more finicky).