Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move remaining syscall definitions out of solana-program #3405

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kevinheavey
Copy link

Problem

There are still some syscall definitions that are imposing a solana_program dep on other crates.

Summary of Changes

  • Move remaining syscall definitions out of solana_program::syscalls::definitions and into solana_define_syscall::definitions. This causes no measurable increase in build time for solana_define_syscall
  • Re-export the syscalls with deprecation notice
  • Add a doc note saying that the new definitions module is only for syscall definitions that bring in no extra deps

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

Successfully merging this pull request may close these issues.

1 participant