Skip to content

Commit

Permalink
Move mem_pool to program-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrod committed Jun 19, 2024
1 parent 0f8de4a commit 8c2c379
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions program-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pub use solana_rbpf;
pub mod invoke_context;
pub mod loaded_programs;
pub mod log_collector;
pub mod mem_pool;
pub mod stable_log;
pub mod sysvar_cache;
pub mod timings;
File renamed without changes.
3 changes: 1 addition & 2 deletions programs/bpf_loader/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
#![deny(clippy::arithmetic_side_effects)]
#![deny(clippy::indexing_slicing)]

pub mod mem_pool;
pub mod serialization;
pub mod syscalls;

use {
mem_pool::VmMemoryPool,
solana_compute_budget::compute_budget::MAX_INSTRUCTION_STACK_DEPTH,
solana_measure::measure::Measure,
solana_program_runtime::{
Expand All @@ -17,6 +15,7 @@ use {
DELAY_VISIBILITY_SLOT_OFFSET,
},
log_collector::LogCollector,
mem_pool::VmMemoryPool,
stable_log,
sysvar_cache::get_sysvar_with_account_check,
},
Expand Down

0 comments on commit 8c2c379

Please sign in to comment.