Compare commits
3 Commits
95b7fcdcfb
...
fea5227304
Author | SHA1 | Date |
---|---|---|
tilacog | fea5227304 | |
acheron | 10c997552e | |
tilacog | fabe183aeb |
|
@ -16,7 +16,7 @@ The minor version will be incremented upon a breaking change and the patch versi
|
|||
|
||||
### Fixes
|
||||
|
||||
- syn: Eliminate variable allocations that build up stack space for token extension code generation ([#2913](https://github.com/coral-xyz/anchor/pull/2913)).
|
||||
- lang: Eliminate variable allocations that build up stack space for token extension code generation ([#2913](https://github.com/coral-xyz/anchor/pull/2913)).
|
||||
|
||||
### Breaking
|
||||
|
||||
|
|
2
Makefile
2
Makefile
|
@ -15,6 +15,8 @@ publish:
|
|||
sleep 25
|
||||
cd lang/derive/accounts/ && cargo publish && cd ../../../
|
||||
sleep 25
|
||||
cd lang/derive/serde/ && cargo publish && cd ../../../
|
||||
sleep 25
|
||||
cd lang/derive/space/ && cargo publish && cd ../../../
|
||||
sleep 25
|
||||
cd lang/attribute/access-control/ && cargo publish && cd ../../../
|
||||
|
|
|
@ -47,14 +47,14 @@ pub fn generate(program: &Program) -> proc_macro2::TokenStream {
|
|||
///
|
||||
/// The `entry` function here, defines the standard entry to a Solana
|
||||
/// program, where execution begins.
|
||||
pub fn entry<'info>(program_id: &Pubkey, accounts: &'info [AccountInfo<'info>], data: &[u8]) -> anchor_lang::solana_program::entrypoint::ProgramResult {
|
||||
pub fn entry<'info>(program_id: &Pubkey, accounts: &[AccountInfo<'info>], data: &[u8]) -> anchor_lang::solana_program::entrypoint::ProgramResult {
|
||||
try_entry(program_id, accounts, data).map_err(|e| {
|
||||
e.log();
|
||||
e.into()
|
||||
})
|
||||
}
|
||||
|
||||
fn try_entry<'info>(program_id: &Pubkey, accounts: &'info [AccountInfo<'info>], data: &[u8]) -> anchor_lang::Result<()> {
|
||||
fn try_entry<'info>(program_id: &Pubkey, accounts: &[AccountInfo<'info>], data: &[u8]) -> anchor_lang::Result<()> {
|
||||
#[cfg(feature = "anchor-debug")]
|
||||
{
|
||||
msg!("anchor-debug is active");
|
||||
|
|
Loading…
Reference in New Issue