幽默anchor rustc版本低下对不上bytemuck_derive导致无法build

❯ anchor build
error: rustc 1.79.0-dev is not supported by the following package:

                 Note that this is the rustc version that ships with Solana tools and not your system's rustc version. Use `solana-install update` or head over to https://docs.solanalabs.com/cli/install to install a newer version.
  bytemuck_derive@1.9.2 requires rustc 1.84
Either upgrade rustc or select compatible dependency versions with
`cargo update <name>@<current-ver> --precise <compatible-ver>`
where `<compatible-ver>` is the latest version supporting rustc 1.79.0-dev

很幽默了全是最新版本也装不上,rustc他自己用的自己的虚拟环境,怎么解决呢

❯ cargo update -p bytemuck_derive –precise 1.8.1
Updating crates.io index

好了,问题解决。不嘻嘻

图片[1]-幽默anchor rustc版本低下对不上bytemuck_derive导致无法build-魔法少女雪殇
© 版权声明
THE END
喜欢就支持一下吧
点赞6 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情

    暂无评论内容