Closed ehuss closed 1 year ago
This happens because the query provider for debugger_visualizers
directly reads the file contents of the visualizer file, which is not visible to dependency tracking. This can be fixed by either marking the query as eval_always
since it's an input, or pulling the contents of the visualizer file into the attribute itself. The latter might be the cleaner solution but also more complicated to implement.
Code
foo.rs
:foo.xml
:rustc -Cincremental=incremental --crate-type=rlib foo.rs
foo.xml
, change the type name to "abcd".rustc -Cincremental=incremental --crate-type=rlib foo.rs
Meta
rustc --version --verbose
:Error output