Skip to content

Commit

Permalink
spl: Fix compilation with shmem feature enabled (#2722)
Browse files Browse the repository at this point in the history
  • Loading branch information
acheroncrypto authored Dec 8, 2023
1 parent 727e6f8 commit 8bf7f25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ The minor version will be incremented upon a breaking change and the patch versi
- syn: Fix IDL constant seeds parsing ([#2699](https://github.com/coral-xyz/anchor/pull/2699)).
- cli: Display errors if toolchain override restoration fails ([#2700](https://github.com/coral-xyz/anchor/pull/2700)).
- cli: Fix commit based `anchor_version` override ([#2704](https://github.com/coral-xyz/anchor/pull/2704)).
- spl: Fix compilation with `shmem` feature enabled ([#2722](https://github.com/coral-xyz/anchor/pull/2722)).

### Breaking

Expand Down
2 changes: 1 addition & 1 deletion spl/src/shmem.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
//! CPI API for interacting with the SPL shared memory
//! [program](https://github.com/solana-labs/solana-program-library/tree/master/shared-memory).
use anchor_lang::ToAccountInfo;
use anchor_lang::{context::CpiContext, Accounts};
use solana_program::account_info::AccountInfo;
use solana_program::declare_id;
use solana_program::entrypoint::ProgramResult;
use solana_program::instruction::{AccountMeta, Instruction};
use solana_program::program;
use solana_program::pubkey::Pubkey;

// TODO: update this once the final shared memory program gets released.
// shmem4EWT2sPdVGvTZCzXXRAURL9G5vpPxNwSeKhHUL.
Expand Down

1 comment on commit 8bf7f25

@vercel
Copy link

@vercel vercel bot commented on 8bf7f25 Dec 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

anchor-docs – ./

anchor-docs-200ms.vercel.app
anchor-lang.com
www.anchor-lang.com
anchor-docs-git-master-200ms.vercel.app

Please sign in to comment.