about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-11 18:45:31 +0000
committerbors <bors@rust-lang.org>2022-10-11 18:45:31 +0000
commita0ab61fb6c1b0fa2bdcd10cdba17b444941c073e (patch)
tree1978f072f2aa48e289ac8b5d522dcdc6552850a9 /compiler/rustc_codegen_llvm/src
parentd08f1c3dff1827d401bafb82ab509a9d1e954008 (diff)
parent2b2b9f8c7332314b151fd8287a8b02c34a20a5a7 (diff)
downloadrust-a0ab61fb6c1b0fa2bdcd10cdba17b444941c073e.tar.gz
rust-a0ab61fb6c1b0fa2bdcd10cdba17b444941c073e.zip
Auto merge of #13358 - btwotwo:feature/env-vars-autocompletion, r=Veykril
feat: Autocomplete Cargo-defined env vars in `env!` and `option_env!` (#12448)

Closes #12448

Important to know:

- Variables are taken from https://doc.rust-lang.org/cargo/reference/environment-variables.html and hardcoded as a const array.
- For the sake of simplicity I didn't include the autocompletion of `CARGO_BIN_EXE_<name>` and `OUT_DIR` since it would require information about build.rs and binary name. If somebody knows an easy way of obtaining them I can add those vars as well :)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions