solana-labs / solana

Web-Scale Blockchain for fast, secure, scalable, decentralized apps and marketplaces.
https://solanalabs.com
Apache License 2.0
13.19k stars 4.3k forks source link

Inconsistent cargo build tools interface #35225

Open ksolana opened 9 months ago

ksolana commented 9 months ago

Problem

~/.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
~/.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 commented 9 months ago

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