Skip to content

feat: add no_std support for nonce-account crate#398

Open
sonicfromnewyoke wants to merge 1 commit into
anza-xyz:masterfrom
sonicfromnewyoke:sonic/no-std-nonce-account
Open

feat: add no_std support for nonce-account crate#398
sonicfromnewyoke wants to merge 1 commit into
anza-xyz:masterfrom
sonicfromnewyoke:sonic/no-std-nonce-account

Conversation

@sonicfromnewyoke

Copy link
Copy Markdown
Contributor

Problem

solana-nonce-account crate has no no_std support

Summary of Changes

  • add crate level attribute
  • replace import of std::cell::RefCell with core::cell::RefCell

@febo

febo commented Oct 23, 2025

Copy link
Copy Markdown
Contributor

I think we need to make its dependencies no_std first. For example:

solana-account = { workspace = true, features = ["bincode"] }

bincode is "std" by default, so probably won't work as it is.

Note: I didn't mean to close the PR.

@febo febo closed this Oct 23, 2025
@febo febo reopened this Oct 23, 2025
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