Skip to content

program: no_std#80

Merged
febo merged 1 commit into
solana-program:mainfrom
LStan:no-std
Jun 4, 2026
Merged

program: no_std#80
febo merged 1 commit into
solana-program:mainfrom
LStan:no-std

Conversation

@LStan
Copy link
Copy Markdown
Contributor

@LStan LStan commented Jun 4, 2026

Problem

The program can be no_std, but it is not.

Solution

  • Update solana-security-txt to a new version that supports no_std.
  • Change the panic handler to nostd_panic_handler.
  • Add the no_std attribute.

Copy link
Copy Markdown
Contributor

@febo febo left a comment

Choose a reason for hiding this comment

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

Thank you – you were quicker than me. 😊

@febo febo merged commit 2eddab8 into solana-program:main Jun 4, 2026
21 checks passed
@LStan LStan deleted the no-std branch June 4, 2026 14:14
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.

2 participants