Skip to content

Commit

Permalink
Bump platform tools version (#2745)
Browse files Browse the repository at this point in the history
* Bump platform tools version

* Remove unused struct

(cherry picked from commit ad6002f)

# Conflicts:
#	sdk/program/Cargo.toml
  • Loading branch information
LucasSte authored and mergify[bot] committed Aug 30, 2024
1 parent 3853b5d commit f70139f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 18 deletions.
16 changes: 0 additions & 16 deletions programs/sbf/rust/ro_modify/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,6 @@ struct SolAccountInfo {
executable: bool,
}

/// Rust representation of C's SolSignerSeed
#[derive(Debug)]
#[repr(C)]
struct SolSignerSeedC {
addr: u64,
len: u64,
}

/// Rust representation of C's SolSignerSeeds
#[derive(Debug)]
#[repr(C)]
struct SolSignerSeedsC {
addr: u64,
len: u64,
}

const READONLY_ACCOUNTS: &[SolAccountInfo] = &[
SolAccountInfo {
is_signer: false,
Expand Down
2 changes: 1 addition & 1 deletion sdk/cargo-build-sbf/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ fn main() {

// The following line is scanned by CI configuration script to
// separate cargo caches according to the version of platform-tools.
let platform_tools_version = String::from("v1.42");
let platform_tools_version = String::from("v1.43");
let rust_base_version = get_base_rust_version(platform_tools_version.as_str());
let version = format!(
"{}\nplatform-tools {}\n{}",
Expand Down
4 changes: 4 additions & 0 deletions sdk/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ repository = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
<<<<<<< HEAD
rust-version = "1.75.0" # solana platform-tools rust version
=======
rust-version = "1.79.0" # solana platform-tools rust version
>>>>>>> ad6002f90b (Bump platform tools version (#2745))

[dependencies]
bincode = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion sdk/sbf/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ if [[ ! -e criterion-$version.md || ! -e criterion ]]; then
fi

# Install platform tools
version=v1.42
version=v1.43
if [[ ! -e platform-tools-$version.md || ! -e platform-tools ]]; then
(
set -e
Expand Down

0 comments on commit f70139f

Please sign in to comment.