Skip to content

Conversation

@Perelyn-sama
Copy link
Collaborator

No description provided.

@jacobcreech jacobcreech merged commit c80856b into solana-developers:main Oct 24, 2025
7 of 8 checks passed
@sweemer
Copy link

sweemer commented Nov 3, 2025

Hi @Perelyn-sama I'm getting the following error both in rust-analyzer and with cargo test:

error: couldn't read `basics/account-data/native/program/tests/../../../../../target/deploy/account_data_native_program.so`: No such file or directory (os error 2)
  --> basics/account-data/native/program/tests/tests.rs:23:9
   |
23 |         include_bytes!("../../../../../target/deploy/account_data_native_program.so");
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Is there a special way that you built the shared object for the test? If so, can you share it with me so I can try it out?

@Perelyn-sama
Copy link
Collaborator Author

@sweemer you have to run cargo build-sbf

Follow this guide to get it on your machine - https://docs.anza.xyz/cli/install

@sweemer
Copy link

sweemer commented Nov 3, 2025

That works, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants