about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-30 13:38:36 +0000
committerbors <bors@rust-lang.org>2023-03-30 13:38:36 +0000
commitd3b129f04fcf635078738d7efca52566a00e4354 (patch)
tree9fd9ecad5039d40af46838cfa2b8f9fb0a664edd /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
parent562477b4da54cfb9756a44328ceb51f0e10fb641 (diff)
parentfb9a1dd87ed3c44bb261958fbe2111f19e9185c9 (diff)
downloadrust-d3b129f04fcf635078738d7efca52566a00e4354.tar.gz
rust-d3b129f04fcf635078738d7efca52566a00e4354.zip
Auto merge of #14444 - zapkub:runable-debug-env-is-not-passing-properly, r=Veykril
Missing runnable env on debug target

Fix bug in Rust Analyzer VSCode where runnable debugging did not pass
environment variable from configuration to child process of Cargo on binary build stage

There is a missing env passing along to `cargo` in debug target which give an in-consistent result from debug and run target

For example
```json
{
    "rust-analyzer.runnableEnv": {
        "OUT_DIR": "/test/path2"
    }
}
```

## run
![image](https://user-images.githubusercontent.com/4373581/228749503-fa55f62c-13d3-4d3c-bee6-1cfbe042bdd0.png)
## debug
compiling binary is failed. Missing env
![image](https://user-images.githubusercontent.com/4373581/228749688-3fe42efb-b5ca-41be-862d-f2d97ecab7be.png)

## debug (after fix)
![image](https://user-images.githubusercontent.com/4373581/228750057-1db60051-3465-47db-8b18-4159ec58cfdb.png)
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions