mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Show backtraces in lens runnables
This commit is contained in:
parent
e3f8e6023d
commit
918addee23
1 changed files with 5 additions and 1 deletions
|
@ -713,7 +713,11 @@ pub fn handle_code_lens(
|
||||||
label: Default::default(),
|
label: Default::default(),
|
||||||
bin: "cargo".into(),
|
bin: "cargo".into(),
|
||||||
args,
|
args,
|
||||||
env: Default::default(),
|
env: {
|
||||||
|
let mut m = FxHashMap::default();
|
||||||
|
m.insert("RUST_BACKTRACE".to_string(), "short".to_string());
|
||||||
|
m
|
||||||
|
},
|
||||||
cwd: workspace_root.map(|root| root.to_string_lossy().to_string()),
|
cwd: workspace_root.map(|root| root.to_string_lossy().to_string()),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue