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
Cargo has a configuration target.<triple>.runner that allows you to specify a runner program to take over the execution of compiled binaries. It seems like Tarpaulin doesn't support it. Here's an example:
So this is a bit more complex, but if you're running coverage on a remote machine how will tarpaulin get the coverage for it? 👀
The only way I can see that one working is if you add a step to the runner afterwards to download all of the profraw files off the machine into the tarpaulin profraw folder. But it'll still be a bit fragile (i.e. things like ptrace won't work, other things may struggle depending on what the runner does)
I can do the naive implementation easily enough (just run the runner and hope the user has sorted out those finer details), but I'll probably have to think a bit about documentation/DX before shipping it 🤔
Cargo has a configuration
target.<triple>.runner
that allows you to specify a runner program to take over the execution of compiled binaries. It seems like Tarpaulin doesn't support it. Here's an example:Create
runner.sh
with content:Then execute:
In my specific case, I use a runner to send binaries to a remote machine and execute them there.
The text was updated successfully, but these errors were encountered: