-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hello!
I've discovered an odd issue where I get an error stating my main.rs doesn't match what the app was built with even though it does. (Actually it specifically states main.rs doesn't match what main.rs was built with, which is kinda weird.)
After dismissing the dialog, debugging works as expected. The issue doesn't happen with Hello World but it does happen with the short snippet included below.
To reproduce:
- Populate
main.rsas follows:
fn main() {
let args: Vec<String> = std::env::args().collect();
dbg!(&args);
}- Place a breakpoint on either line.
- Launch the app with debugging
- Receive this warning dialog:
- Dismiss the dialog, debugging will still work as expected
I can reproduce this with Visual Studio 2022 (17.5.2 -- latest stable) and Rust/Cargo 1.68.0.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
