solana_program::program

Function set_return_data

Source
pub fn set_return_data(data: &[u8])
Expand description

Like solana_cpi::set_return_data, but with support for overwriting the sol_set_return_data syscall stub.