Skip to content
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

Add --workspace-path #67

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ngundotra
Copy link

@ngundotra ngundotra commented Oct 1, 2024

Difference between --workspace-path and --mount-path

Workspace path allows solana-verify to build programs in separate workspaces from the monorepos in which are contained. This allows programs in monorepos that access libraries in other workspaces to be compiled correctly with solana-verify.

Setting mount-path to a separate workspace within a monorepo may fail to build if the program's workspace accesses libraries outside the mount path.

Version bumped from 0.2.11 -> 0.2.12 in Cargo.toml.

Example verifying account compression:

solana-verify verify-from-repo https://github.com/solana-labs/solana-program-library --library-name spl_account_compression --workspace-path ./account-compression

@jarry-xiao
Copy link
Contributor

Thanks for the contribution!

2 requests:

  • Can you write a short description of what the difference between workspace-path and mount-path is and the scope of the code impact?
  • Can you bump the version in the Cargo.toml?

@ngundotra ngundotra changed the title Add --workspace-root Add --workspace-path Oct 1, 2024
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.

3 participants