Skip to content

Commit 738f07e

Browse files
committed
Apply reviewers suggestions
1 parent 436941b commit 738f07e

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

program-entrypoint/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ homepage = { workspace = true }
99
license = { workspace = true }
1010
edition = { workspace = true }
1111

12+
rust-version = "1.81.0"
13+
1214
[dependencies]
1315
solana-account-info = { workspace = true }
1416
solana-define-syscall = { workspace = true }

program-entrypoint/src/lib.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
//! [`bpf_loader`]: crate::bpf_loader
66
77
extern crate alloc;
8-
// Re-exporting for custom_panic
9-
pub use solana_define_syscall::definitions::{sol_log_ as __log, sol_panic_ as __panic};
108
use {
119
alloc::vec::Vec,
1210
solana_account_info::AccountInfo,
@@ -24,8 +22,12 @@ use {
2422
// entrypoint_no_alloc macro
2523
pub use {
2624
solana_account_info::AccountInfo as __AccountInfo,
27-
solana_account_info::MAX_PERMITTED_DATA_INCREASE, solana_msg::msg as __msg,
28-
solana_program_error::ProgramResult, solana_pubkey::Pubkey as __Pubkey,
25+
solana_account_info::MAX_PERMITTED_DATA_INCREASE,
26+
// Re-exporting for custom_panic
27+
solana_define_syscall::definitions::{sol_log_ as __log, sol_panic_ as __panic},
28+
solana_msg::msg as __msg,
29+
solana_program_error::ProgramResult,
30+
solana_pubkey::Pubkey as __Pubkey,
2931
};
3032

3133
/// User implemented function to process an instruction

0 commit comments

Comments
 (0)