You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just ran this to update, confirmed that the installed binary is the latest master commit (Replaced package anchor-cli v0.28.0 ...withanchor-cli v0.28.0 (https://github.com/coral-xyz/anchor#5eb678a8)`). Am getting another workspace-inheritance related error:
Caused by:
feature `workspace-inheritance` is required
The package requires the Cargo feature called `workspace-inheritance`, but that feature is not stabilized in this version of Cargo (1.62.1 (6177f0d0d 2022-08-01)).
Consider adding `cargo-features = ["workspace-inheritance"]` to the top of Cargo.toml (above the [package] table) to tell Cargo you are opting in to use this unstable feature.
See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#workspace-inheritance for more information about the status of this feature.
Somehow anchor is using Cargo 1.62.1 even though I have 1.71 installed and a rust-toolchain.toml that specifies the toolchain vers
EDIT: nvm i think its a cargo-build-bpf (which is deprecated btw) problem: solana-labs/solana#31337
EDIT: nvm i think its a cargo-build-bpf (which is deprecated btw) problem: solana-labs/solana#31337
Yes, 1.14 CLI uses rustc 1.62.0-dev by default which is before workspace inheritence feature was stabilized in 1.64. It also wouldn't matter whether you use cargo-build-bpf or cargo-build-sbf. You either need to manually update the build tools yourself or upgrade to 1.16.
For whatever reason, when using workspace package inheritance with anchor 0.28, I get this error:
This does not happen on Anchor 0.26.
Can reproduce from https://github.com/helium/helium-program-library
Just
avm use 0.28
andanchor build
The text was updated successfully, but these errors were encountered: