-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cleanup][move] Remove unused cargo deps + minor removal of some more unused things #17762
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Ignored Deployments
|
@@ -9,7 +9,6 @@ edition = "2021" | |||
|
|||
[dependencies] | |||
move-binary-format.workspace = true | |||
move-bytecode-verifier-meter.workspace = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is interesting -- perhaps indicative of a bigger issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Despite the name of the crate... the v2
version of move-abstract-interpreter
does not contain the abstract interpreter lol. It is still in the move-bytecode-verifier
crate. So this should be fine.
Why? Because this crate only exists in v2
because it is trying to pin a version of the CFG which was split out from the binary format into this versioned crate recently. The alternative was to do a lot of code moving/rewriting in the v*
crates, which seemed undesirable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So had a bit of a poke around, and it looks fine -- the main thing is the move-abstract-interpreter
in non-v2 has a number of other trait abstractions in absint.rs
that this v2 crate does not have (e.g., trait AbstractDomain
, trait TransferFunctions
, trait AbstractInterpreter
etc.). It's those abstractions which utilize the verifier meter in their type signatures.
87c1af3
to
58cf640
Compare
58cf640
to
300fe2b
Compare
57b0b77
to
ee6f44a
Compare
ee6f44a
to
94520dc
Compare
94520dc
to
754ff74
Compare
754ff74
to
3f06eb2
Compare
Description
Ran
cargo udeps
to find unused Cargo dependencies and removed them, and then also found some unused private types, and removed those as well.Test plan
CI