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

Inconsistent cargo build tools interface #35225

Open
1 of 3 tasks
ksolana opened this issue Feb 18, 2024 · 1 comment
Open
1 of 3 tasks

Inconsistent cargo build tools interface #35225

ksolana opened this issue Feb 18, 2024 · 1 comment

Comments

@ksolana
Copy link
Contributor

ksolana commented Feb 18, 2024

Problem

  • [wontfix working as intended] cargo-build-sbf has hard coded dependency with rustc. This often create problems when user has another rustc installed. What is the rationale behind having a rustc depenency?
~/.local/share/solana/install/active_release/bin/cargo-build-sbf --version
solana-cargo-build-sbf 1.18.1
platform-tools v1.39
rustc 1.72.0
  • No version information for cargo-build-bpf.
~/.local/share/solana/install/active_release/bin/cargo-build-bpf --version
  • cargo-test-bpf should show the version where it is at. A message that it is deprecated is helpful but users should know that version information as well.
~/.local/share/solana/install/active_release/bin/cargo-test-bpf --version
Warning: cargo-test-bpf is deprecated. Please, use cargo-test-sbf

Proposed Solution

See above.

@kevinheavey
Copy link
Contributor

My understanding is that this Rust version comes from Solana's Rust fork https://github.com/solana-labs/rust

Solana has a fork of Rust so that it can compile to SBPF

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

No branches or pull requests

2 participants