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

Allow cargo-test-sbf accept --tools-version #35557

Closed

Conversation

jasl
Copy link

@jasl jasl commented May 14, 2024

Problem

I need to use newer platform-tools, when build the program, I can use for example cargo-build-sbf --tools-version v1.41,
but cargo-test-sbf can't specify it, so it will fail

$ cargo-test-sbf
error: package `solana-program v1.18.12` cannot be built because it requires rustc 1.75.0 or newer, while the currently active rustc version is 1.68.0-dev
Either upgrade to rustc 1.75.0 or newer, or use
cargo update -p solana-program@1.18.12 --precise ver
where `ver` is the latest version of `solana-program` supporting rustc 1.68.0-dev

Summary of Changes

Allow cargo-test-sbf accept --tools-version

@anza-team anza-team closed this May 14, 2024
Copy link
Collaborator

@anza-team anza-team left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution! This repository is no longer in use. Please re-open this pull request in the agave repo: https://github.com/anza-xyz/agave

@mergify mergify bot added community Community contribution need:merge-assist labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution need:merge-assist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants