diff --git a/Cargo.lock b/Cargo.lock index 344ed3d7476731..7ba012299239de 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8250,6 +8250,7 @@ dependencies = [ "protobuf-src", "rand 0.8.5", "rayon", + "rustc_version 0.4.0", "serial_test", "solana-accounts-db", "solana-entry", diff --git a/programs/sbf/Cargo.lock b/programs/sbf/Cargo.lock index 0311e3329a9065..f5266a34aa2ec3 100644 --- a/programs/sbf/Cargo.lock +++ b/programs/sbf/Cargo.lock @@ -6826,6 +6826,7 @@ dependencies = [ "prost-types", "protobuf-src", "rayon", + "rustc_version", "solana-entry", "solana-gossip", "solana-ledger", diff --git a/wen-restart/Cargo.toml b/wen-restart/Cargo.toml index ff755c75331124..f350b59ca6222a 100644 --- a/wen-restart/Cargo.toml +++ b/wen-restart/Cargo.toml @@ -39,6 +39,7 @@ tempfile = { workspace = true } [build-dependencies] prost-build = { workspace = true } +rustc_version = { workspace = true } # windows users should install the protobuf compiler manually and set the PROTOC # envar to point to the installed binary diff --git a/wen-restart/build.rs b/wen-restart/build.rs index 9b2f80c51de392..30fdc64a9bcfe0 100644 --- a/wen-restart/build.rs +++ b/wen-restart/build.rs @@ -1,3 +1,5 @@ +extern crate rustc_version; + use std::io::Result; fn main() -> Result<()> {