Closed skrrb closed 2 months ago
in order to build the idl, nightly toolchain is currently hardcoded in the code https://github.com/coral-xyz/anchor/blob/9761ea60088a73a660c2f02d1151782174d0913e/idl/src/build.rs#L73
nightly
However, sometimes latest nightly may be incompatible with a given program. This pr allows to override the toolchain used by the idl build command via RUSTUP_TOOLCHAIN env, e.g.
RUSTUP_TOOLCHAIN
RUSTUP_TOOLCHAIN=”nightly-2023-04-01" anchor idl build
@skrrb is attempting to deploy a commit to the coral-xyz Team on Vercel.
A member of the Team first needs to authorize it.
in order to build the idl,
nightly
toolchain is currently hardcoded in the code https://github.com/coral-xyz/anchor/blob/9761ea60088a73a660c2f02d1151782174d0913e/idl/src/build.rs#L73However, sometimes latest nightly may be incompatible with a given program. This pr allows to override the toolchain used by the idl build command via
RUSTUP_TOOLCHAIN
env, e.g.