Skip to content

Commit a97e969

Browse files
committed
Cleanup unused code and dependencies.
1 parent e552a78 commit a97e969

File tree

5 files changed

+0
-18
lines changed

5 files changed

+0
-18
lines changed

Diff for: Cargo.lock

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: programs/bpf_loader/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ bincode = { workspace = true }
1515
libsecp256k1 = { workspace = true }
1616
num-traits = { workspace = true }
1717
qualifier_attr = { workspace = true }
18-
scopeguard = { workspace = true }
1918
solana-account = { workspace = true }
2019
solana-account-info = { workspace = true }
2120
solana-big-mod-exp = { workspace = true }

Diff for: programs/bpf_loader/src/syscalls/cpi.rs

-14
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use {
22
super::*,
33
agave_feature_set::{self as feature_set, enable_bpf_loader_set_authority_checked_ix},
4-
scopeguard::defer,
54
solana_loader_v3_interface::instruction as bpf_loader_upgradeable,
65
solana_measure::measure::Measure,
76
solana_program_runtime::{
@@ -368,19 +367,6 @@ impl<'a, 'b> CallerAccount<'a, 'b> {
368367
ref_to_len_in_vm,
369368
})
370369
}
371-
372-
fn realloc_region(
373-
&self,
374-
memory_mapping: &'b MemoryMapping<'_>,
375-
is_loader_deprecated: bool,
376-
) -> Result<Option<&'a MemoryRegion>, Error> {
377-
account_realloc_region(
378-
memory_mapping,
379-
self.vm_data_addr,
380-
self.original_data_len,
381-
is_loader_deprecated,
382-
)
383-
}
384370
}
385371

386372
type TranslatedAccounts<'a, 'b> = Vec<(IndexOfAccount, Option<CallerAccount<'a, 'b>>)>;

Diff for: programs/sbf/Cargo.lock

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: svm/examples/Cargo.lock

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)