Skip to content

Add cargo dv clean and make dependency analysis recursive - #6

Merged
rikosellic merged 1 commit into
asterinas:mainfrom
rikosellic:fmt-file
Nov 4, 2025
Merged

Add cargo dv clean and make dependency analysis recursive#6
rikosellic merged 1 commit into
asterinas:mainfrom
rikosellic:fmt-file

Conversation

@rikosellic

@rikosellic rikosellic commented Nov 4, 2025

Copy link
Copy Markdown
Collaborator

This PR enhances the dependency analysis in several ways:

  • Added cargo dv clean to remove Verus-generated libraries without touching regular Rust dependencies. This makes recompilation significantly faster than using cargo clean. You can also run cargo dv clean --targets {name} to clean a specific target.
  • The compile and verify commands now recursively detect dependent Verus targets and automatically compile any missing dependencies. As a result, running cargo dv clean --targets vstd_extra followed by cargo dv verify --targets ostd is now fully legal.

@rikosellic
rikosellic merged commit 5f13540 into asterinas:main Nov 4, 2025
1 check passed
@rikosellic
rikosellic deleted the fmt-file branch November 4, 2025 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant