I have a WSL launched on Microsoft Terminal running Ubuntu distro. I have installed gcc, rustup and cargo from apt, snap and apt respectively. I have tried to use the --locked flag. I also restarted my terminal and it still doesn't work and the following error is thrown everytime I run cargo install rustlings --locked. Would love to get started with rustlings ASAP.
The repositories have an old version. Rustlings requires the latest Rust version. Please uninstall cargo, rustc and rustup that you installed with apt and install Rust using the official method:
I have a WSL launched on Microsoft Terminal running Ubuntu distro. I have installed
gcc
,rustup
andcargo
fromapt
,snap
andapt
respectively. I have tried to use the--locked
flag. I also restarted my terminal and it still doesn't work and the following error is thrown everytime I runcargo install rustlings --locked
. Would love to get started with rustlings ASAP.