about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-10-30 13:37:34 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-10-30 13:46:53 +1100
commit678e01a3fc1d21eb8ea4b281b3905c6d3340ce54 (patch)
tree06e1ea281ddfe5331632e904ed2fa55144578601 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentec2b311914a4880235862f3cd65fe24e92e6d3a5 (diff)
downloadrust-678e01a3fc1d21eb8ea4b281b3905c6d3340ce54.tar.gz
rust-678e01a3fc1d21eb8ea4b281b3905c6d3340ce54.zip
Delay parsing of `--cfg` and `--check-cfg` options.
By storing the unparsed values in `Config` and then parsing them within
`run_compiler`, the parsing functions can use the main symbol interner,
and not create their own short-lived interners.

This change also eliminates the need for one `EarlyErrorHandler` in
rustdoc, because parsing errors can be reported by another, slightly
later `EarlyErrorHandler`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions