Skip to content
Discussion options

You must be logged in to vote

Okay so after some playing around I realized that this only happens if there is another binary. I set up an simple example cargo project at https://github.com/l3france/rustaceanvim-dap-configuration
Dap does not get configured when I open src/my_mod.rs in that project, but if you remove src/bin/other.rs (and it's reference in Cargo.toml) then it does get configured. At first I thought that maybe rust-analyzer was getting confused and couldn't select a binary to build. But even if I add Cargo.toml entries for the two binaries it doesn't work. It's very possible I'm configuring the project wrong in Cargo.toml and that's why it's breaking, I'm new to cargo.
I also found that even if dap is c…

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@mrcjkb
Comment options

@mrcjkb
Comment options

@mrcjkb
Comment options

@LukeFranceschini
Comment options

Comment options

You must be logged in to vote
3 replies
@LukeFranceschini
Comment options

Answer selected by LukeFranceschini
@mrcjkb
Comment options

@LukeFranceschini
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants