错误:
PS C:\wyf\more\study\solana\1\voting-dapp\anchor> anchor build info: uninstalling toolchain 'solana' info: toolchain 'solana' uninstalled error: package
solana-program v2.1.0cannot be built because it requires rustc 1.79.0 or newer, while the currently active rustc version is 1.75.0-dev Either upgrade to rustc 1.79.0 or newer, or use cargo update solana-program@2.1.0 --precise ver where
veris the latest version of
solana-programsupporting rustc 1.75.0-dev
但是rustc版本是新的
PS C:\wyf\more\study\solana\1\voting-dapp\anchor> rustc --version rustc 1.87.0 (17067e9ac 2025-05-09) PS C:\wyf\more\study\solana\1\voting-dapp\anchor> solana --version solana-cli 1.18.26 (src:d9f20e95; feat:3241752014, client:SolanaLabs)
一直无法解决这个问题,导致失败!有哪位大佬可以指点一下吗? 或许有其他问题,我没看见。我是新手,不太明白。