diff options
| author | bors <bors@rust-lang.org> | 2024-05-26 08:59:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-26 08:59:22 +0000 |
| commit | bd9cc02d1073537ca50f6d2ff8802b4baf5fcd45 (patch) | |
| tree | 42f10cf7f990fd9af29a842c20d7c3c4166871f7 /library/std/src/sys/pal/unix/stack_overflow.rs | |
| parent | 56d77b90480c3c923a5689262b186382de4d8d65 (diff) | |
| parent | eb9894f3c9ea2ec18b36de46db417659fbe3aa9e (diff) | |
| download | rust-bd9cc02d1073537ca50f6d2ff8802b4baf5fcd45.tar.gz rust-bd9cc02d1073537ca50f6d2ff8802b4baf5fcd45.zip | |
Auto merge of #17295 - 0xJonas:fix_passing_env_vars_to_cpptools, r=Veykril
Use correct format for setting environment variables when debugging with cpptools
The RA VSCode extension uses an incorrect format for the environment variables in the `launch.json` when debugging with the C/C++ Extension. This extension uses a different format than CodeLLDB or NativeDebug, which means that the environment variables are not actually set for the debuggee.
What it currently looks like:
```json
"env": {
"NAME": "VALUE"
}
```
What the C/C++ extension expects:
```json
"environment": [
{ "name": "NAME", "value": "VALUE" }
]
```
For reference: https://code.visualstudio.com/docs/cpp/launch-json-reference#_environment
Diffstat (limited to 'library/std/src/sys/pal/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
