about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-18 11:38:01 +0000
committerbors <bors@rust-lang.org>2024-10-18 11:38:01 +0000
commit4fc517264ecbc3198a197cda85cfa2ba4269047d (patch)
tree84ffd7f1072d1d23a4f00b2c468e6e48f495df60 /compiler/rustc_codegen_llvm/src/errors.rs
parent03cfa8e23444d0ccb97a0f697095a487cf5261c2 (diff)
parent325d48fe7a9fe70c533f7bbc9553afd0cc0a465e (diff)
downloadrust-4fc517264ecbc3198a197cda85cfa2ba4269047d.tar.gz
rust-4fc517264ecbc3198a197cda85cfa2ba4269047d.zip
Auto merge of #18320 - davidbarsky:davidbarsky/fix-lldb-dap-calling-rustc, r=Veykril
internal: fix lldb-dap unconditionally calling rustc

Fixes https://github.com/rust-lang/rust-analyzer/issues/18318. I also took the opportunity to refactor how `discoverSourceFileMap` worked—it now returns a type instead of mutating a map in place.

I tested this change using the LLDB DAP extension. I needed to set `"lldb-dap.executable-path": "/Applications/Xcode.app/Contents/Developer/usr/bin/lldb-dap"` for everything to work, however, but once I did, was able to successfully debug a test.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions