Resolve and install project toolchains in AVM#4824
Open
jamie-osec wants to merge 5 commits into
Open
Conversation
|
@jamie-osec is attempting to deploy a commit to the OtterSec Team on Vercel. A member of the Team first needs to authorize it. |
jamie-osec
force-pushed
the
fix/pin-idl-nightly
branch
2 times, most recently
from
July 20, 2026 20:28
e7f2b17 to
e11ad3d
Compare
jamie-osec
marked this pull request as draft
July 21, 2026 21:51
jamie-osec
force-pushed
the
fix/pin-idl-nightly
branch
4 times, most recently
from
July 22, 2026 14:33
f984a26 to
54c61f1
Compare
jamie-osec
force-pushed
the
fix/pin-idl-nightly
branch
from
July 22, 2026 23:16
54c61f1 to
50a7b93
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
jamie-osec
marked this pull request as ready for review
July 23, 2026 18:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New set of features for AVM resolution to support more projects:
feat(avm): Pin compatible IDL nightly- Resolve a dated Rust nightly from the project’s lockedproc-macro2versions, install it on demand, and pin unversionedcargo +nightlyIDL invocations.fix(avm): Map Solana 1.17 to platform-tools v1.37- Add the oldest hosted Solana 1.17 release and its platform-tools bundle to the resolution map.feat(avm): Install project toolchains from Anchor stub- Resolve and install the project’s Solana CLI and platform-tools before launching Anchor, then expose the matching bundled Rust toolchain through Rustup.fix(avm): Defer dependency compatibility to build-sbf- Remove the Cargo metadata MSRV preflight and let the selectedcargo-build-sbftoolchain report dependency incompatibilities directly.fix(avm): Support v4 lockfiles with legacy Cargo- Enable Cargo’s lockfile-v4 opt-in only for compatible legacy platform-tools bundles and report an actionable error for unsupported bundles.Tested in: https://github.com/otter-sec/anchor/actions/runs/29965656707/job/89276824238