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

avm: Remove once_cell dependency #3385

Merged

Conversation

acheroncrypto
Copy link
Collaborator

Problem

Rust's standard library supports the functionality of once_cell::sync::Lazy with std::sync::LazyLock since Rust v1.80 (stable).

We can switch to using the std implementation to remove the once_cell dependency from avm:

pub static AVM_HOME: Lazy<PathBuf> = Lazy::new(|| {

once_cell = "1.8.0"

Summary of changes

Remove the once_cell dependency from avm.

Copy link

vercel bot commented Nov 26, 2024

@acheroncrypto is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto added dependencies Pull requests that update a dependency file avm labels Nov 26, 2024
@acheroncrypto acheroncrypto merged commit 0453672 into coral-xyz:master Nov 26, 2024
52 of 53 checks passed
@Adrena-Corto
Copy link

Break for people still using solana 1.18.17, which is the recommended version on the Anchor website 💀
Screenshot 2024-11-28 at 9 53 37 AM
https://www.anchor-lang.com/release-notes/0.30.1

@acheroncrypto
Copy link
Collaborator Author

avm has nothing to do with which Solana version you use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
avm dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants