Replies: 1 comment
-
I don't understand your scenario. In order to debug, you should build your code as an executable., not as a library. https://doc.rust-lang.org/cargo/commands/cargo-build.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy
Getting Started Program: hello-rust in vscode 1.95.s
main.rs:
Running in verbose mode, output of terminal:
Seems I need to add a library-target to hello-rust package, but being a newbie to Rust (and only using vscode occasionally), I'm not sure how. Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions