Install rustlings-fix and run it:
cargo install rustlings-fix
rustlings-fix
For more information on how the file this generates works checkout the Rust Analyzer Manual
Install rustlings-fix and run it:
cargo install rustlings-fix
rustlings-fix
For more information on how the file this generates works checkout the Rust Analyzer Manual
Very strange, I thought that's what I did. I did it again though and now I have the later version. One thing I changed is from stable to nightly. I wonder if that is the difference? At any rate I have the lsp version now, tyvm!
@Zolmok no problem happy it works!
Absolute hero. <3
so helpful!
Soo nice!!!!!!!!!!!! Thanks so much for this @jackos 🫶
nice!
I was struggling with this on vscode on windows and this fixed it for me ❤️
rustlings lsp
doesn't work with the latest rustlings:
$ /home/xxx/.cargo/bin/rustlings lsp
error: unrecognized subcommand 'lsp'
Usage: rustlings [OPTIONS] [COMMAND]
For more information, try '--help'.
$ /home/xxx/.cargo/bin/rustlings --version
rustlings 6.4.0
Thanks ghost
they deleted it a while back for some reason, the old method still works:
cargo install rustlings-fix
rustlings-fix
Updated the gist above
@Zolmok The version you installed must be older, uninstall it.
To get latest follow the commands in https://github.com/rust-lang/rustlings depending on OS:
Mac/Linux
curl -L https://raw.githubusercontent.com/rust-lang/rustlings/main/install.sh | bash
Windows
Open powershell as admin
Which should give you:
and: