Skip to content

debugger_visualizer: files not tracked in dep-info #111226

Closed
@ehuss

Description

@ehuss

I tried this code:

#![debugger_visualizer(natvis_file = "foo.xml")]

along with a file named foo.xml in the same directory.

Compile this with cargo. Modify foo.xml. Try running a build again.

I expected to see this happen: Cargo rebuilds the project.

Instead, this happened: Nothing happens

The problem is that the debugger_visualizer file does not get added to the dep-info file.

Meta

rustc --version --verbose:

rustc 1.71.0-nightly (473f916d8 2023-05-03)
binary: rustc
commit-hash: 473f916d836cc662c5bdbb0d40af9fb4678fab9e
commit-date: 2023-05-03
host: x86_64-pc-windows-msvc
release: 1.71.0-nightly
LLVM version: 16.0.2

Metadata

Metadata

Labels

C-bugCategory: This is a bug.F-debugger_visualizer`#![feature(debugger_visualizer)]`WG-debuggingWorking group: Bad Rust debugging experiences

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions