move-language / move

Apache License 2.0
2.24k stars 676 forks source link

Update rust-toolchain.toml to latest version #1076

Closed FriendlyLifeguard closed 9 months ago

FriendlyLifeguard commented 9 months ago

While following the move tutorial in the aptos-core repo: https://github.com/aptos-labs/move/blob/main/language/documentation/tutorial/README.md.

I was not able to run 'cargo install --path language/tools/move-cli' due to outdated rustc version in the rust-toolchain.toml from the cloned repo: https://github.com/move-language/move.git.

I was able to fix the issue by manually upgrading rustc and changing the version in the rust-toolchain.toml.

wrwg commented 9 months ago

These are the outdated resources you are using. The first link is to an outdated clone of the Move repo. For the 2nd link, the main branch of the move-language repo is rarely updated. You need to use the --locked argument to cargo to get it work. Better though, either use the Aptos Move tutorial or check out the Sui docs. Aptos is here: https://aptos.dev/move/book/SUMMARY. There you also find a link to the updated tutorial.