From 9ec09805a70fb8742c3f4d7005d126024c393564 Mon Sep 17 00:00:00 2001 From: Lucas Ste <38472950+LucasSte@users.noreply.github.com> Date: Thu, 16 Jan 2025 19:38:05 -0300 Subject: [PATCH] Fix clippy lint in `programs/sbf` (#4503) Fix clippy lint --- programs/sbf/rust/invoke/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/sbf/rust/invoke/src/lib.rs b/programs/sbf/rust/invoke/src/lib.rs index fe54f04484b5b9..7e97bcf5cb67ae 100644 --- a/programs/sbf/rust/invoke/src/lib.rs +++ b/programs/sbf/rust/invoke/src/lib.rs @@ -1437,7 +1437,7 @@ fn process_instruction<'a>( msg!("TEST_STACK_HEAP_ZEROED"); const MM_STACK_START: u64 = 0x200000000; const MM_HEAP_START: u64 = 0x300000000; - const ZEROS: [u8; 256 * 1024] = [0; 256 * 1024]; + static ZEROS: [u8; 256 * 1024] = [0; 256 * 1024]; const STACK_FRAME_SIZE: usize = 4096; const MAX_CALL_DEPTH: usize = 64;