Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Compilation errors when switching from --test to checking main #1

Open
alastairreid opened this issue Aug 29, 2020 · 1 comment
Open
Labels
bug Something isn't working CargoVerify Related to cargo-verify driver script

Comments

@alastairreid
Copy link
Contributor

Switching back and forth between 'cargo-verify --tests' and 'cargo-verify ' causes compilation error problems.
The problem is that it is hard to predict the exact name of the bitcode file generated on different systems under different compilation commands so 'cargo-verify' uses an overly liberal glob to find the file.

For now, the workaround is to run cargo clean to remove old files.
The right fix is probably to get cargo to report the actual filename that we need.

@alastairreid alastairreid added bug Something isn't working script labels Sep 1, 2020
@alastairreid alastairreid added CargoVerify Related to cargo-verify driver script and removed script labels Sep 13, 2020
@alastairreid
Copy link
Contributor Author

Although it does not fix the problem, I have added a "--clean" flag to cargo-verify to make it a little easier to do a clean reverification

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working CargoVerify Related to cargo-verify driver script
Projects
None yet
Development

No branches or pull requests

1 participant