You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, I expected to use rustlings as a no-hassle tool -- it's got 24k stars! Instead I've got a bunch of files with main() in them... rustlings is intended as a Rust newbie helper. Git-cloning is not a problem. Actually editing and running the exercises is.
How should I open files one by one in VSCode? What folder specifically?
"rustlings" folder? But I'm immediately getting 100+ problems and not able to compile specific exercise.
"exercises" folder? Ok, It's better but what about compiling file I'm currently editing? Luckily VSCode is asking me to autogenerate launch.json after I manually created Cargo.toml file with path = 'variables/variables1.rs' as suggested deep in issues. Am I intended to edit Cargo.toml, delete and autogenerate launch.json every time?.. Very convenient!
Pasting "rust-analyzer.cargo.features": ["exercises"] in .vscode/settings.json gives me error: Value is not accepted. Valid values: "all". Wut?! Was it even tested?.. After setting it to "all", I'm getting errors in "tests" sub-folder -- so I have to rename "test" folder. Now I'm ready to exercise. Every Rust newbie will do the Cargo manipulation easily, right?
The text was updated successfully, but these errors were encountered:
So, I expected to use rustlings as a no-hassle tool -- it's got 24k stars! Instead I've got a bunch of files with
main()
in them... rustlings is intended as a Rust newbie helper. Git-cloning is not a problem. Actually editing and running the exercises is.path = 'variables/variables1.rs'
as suggested deep in issues. Am I intended to edit Cargo.toml, delete and autogenerate launch.json every time?.. Very convenient!"rust-analyzer.cargo.features": ["exercises"]
in .vscode/settings.json gives me error:Value is not accepted. Valid values: "all".
Wut?! Was it even tested?.. After setting it to"all"
, I'm getting errors in "tests" sub-folder -- so I have to rename "test" folder. Now I'm ready to exercise. Every Rust newbie will do the Cargo manipulation easily, right?The text was updated successfully, but these errors were encountered: