Skip to content

Instantly share code, notes, and snippets.

@jackos
Last active March 5, 2025 04:16
Show Gist options
  • Save jackos/7332fa8ab0b67a87f382fd566696f412 to your computer and use it in GitHub Desktop.
Save jackos/7332fa8ab0b67a87f382fd566696f412 to your computer and use it in GitHub Desktop.

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

Copy link

ghost commented Dec 23, 2024

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

@jackos
Copy link
Author

jackos commented Mar 5, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment