Skip to content

Conversation

@greenhat
Copy link
Contributor

@greenhat greenhat commented Oct 30, 2025

Close #738

This PR removes using the root package in the cargo metadata to determine the package that we are compiling right now.

Now, we use only the following 2 methods:

  1. Look for a package for which the manifest path points to the current directory;
  2. What user provided in the --manifest-path option.

@greenhat
Copy link
Contributor Author

@Keinberger I tested the fix on your workspace and it works. Try installing the cargo-miden from this branch.

@greenhat greenhat marked this pull request as ready for review October 31, 2025 09:04
@greenhat greenhat requested review from bitwalker and otrho October 31, 2025 09:04
@greenhat greenhat changed the title fix: cargo-miden picks the correct package from cargo metadata [1/x] fix: cargo-miden picks the correct package from cargo metadata Oct 31, 2025
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.

cargo-miden picks the root package of the workspace instead of the one defined in the ./Cargo.toml

2 participants