Skip to content

tarpaulin causes constant rebuilds #772

Answered by xd009642
vmiklos asked this question in Q&A
Discussion options

You must be logged in to vote

So currently on the latest alpha it was found that there are incremental compilation issues with -Clink-dead-code is used meaning that without a clean incremental compilation could cause cargo to hang when building the tests. With 0.16.0 which is the last stable release it had to change the relocation model when linking which I believe internally to the rust compiler also causes a rebuild.

Some people tackle this by having a separate target directory for tarpaulin built binaries and using the --target-dir flag. And then if on the latest alpha you can use --skip-clean to then disable the clean.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vmiklos
Comment options

Answer selected by vmiklos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants