小编Ans*_*man的帖子

Solana 锚点构建需要 2021 号货运版本

我正在尝试运行锚构建并收到以下响应:

BPF SDK: /root/.local/share/solana/install/releases/1.8.0/solana-release/bin/sdk/bpf
Running: rustup toolchain list -v
Running: cargo +bpf build --target bpfel-unknown-unknown --release
error: failed to download `solana-frozen-abi v1.9.4`

Caused by:
  unable to get packages from source

Caused by:
  failed to parse manifest at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/solana-frozen-abi-1.9.4/Cargo.toml`

Caused by:
  feature `edition2021` is required

  consider adding `cargo-features = ["edition2021"]` to the manifest
Run Code Online (Sandbox Code Playgroud)

PS:我已经尝试过建议:Unable to指定`edition2021`以便在Rust中使用不稳定的包

rust rust-cargo solana

1
推荐指数
1
解决办法
1540
查看次数

标签 统计

rust ×1

rust-cargo ×1

solana ×1