Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Inconsistent cargo build tools interface #35225

Open
@ksolana

Description

@ksolana

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions