Add script for running nightly rustfmt on all workspaces (#23244)

* Add script for running nightly rustfmt on all workspaces

* invalidate ci cache
This commit is contained in:
Justin Starry
2022-02-22 11:59:06 +08:00
committed by GitHub
parent 72c68695b5
commit c97f34a0fd
46 changed files with 327 additions and 296 deletions

View File

@ -2,8 +2,10 @@
#[macro_use]
extern crate alloc;
use solana_program::{custom_panic_default, entrypoint::SUCCESS, log::sol_log_64, msg};
use std::{alloc::Layout, mem};
use {
solana_program::{custom_panic_default, entrypoint::SUCCESS, log::sol_log_64, msg},
std::{alloc::Layout, mem},
};
#[no_mangle]
pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {