about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorWilfred Hughes <wilfred@meta.com>2024-09-26 12:05:08 -0400
committerWilfred Hughes <wilfred@meta.com>2024-09-26 14:33:30 -0400
commit933b50740a3e51964525c17fc2405d7721a63d69 (patch)
treec799669b9604ab2b35195983160b7c341d6e16bb /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent2904b35bdf82c8f73493639e7eaf81d23dbe5c23 (diff)
downloadrust-933b50740a3e51964525c17fc2405d7721a63d69.tar.gz
rust-933b50740a3e51964525c17fc2405d7721a63d69.zip
fix: Don't report a startup error when a discover command is configured
Previously, r-a would show an error if both fetch_workspaces_queue and
discover_workspace_queue were empty. We're in this state at startup,
so users would see an error if they'd configured
discover_workspace_config.

Instead, allow the fetch_workspaces_queue to have zero items if
discover_workspace_config is set.

Whilst we're here, prefer "failed to fetch" over "failed to discover",
so the error message better reflects what this function is doing.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions