about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2020-11-16 14:08:21 -0800
committerJosh Stone <jistone@redhat.com>2020-11-16 14:08:21 -0800
commit5f0856804292a6f4b73cb0f5771877657d8f6af8 (patch)
treec27f6d4f876e26273668d48a33b0202b3f2fc16d /compiler/rustc_codegen_llvm/src
parentf5230fbf76bafd86ee4376a0e26e551df8d17fec (diff)
downloadrust-5f0856804292a6f4b73cb0f5771877657d8f6af8.tar.gz
rust-5f0856804292a6f4b73cb0f5771877657d8f6af8.zip
x.py: allow a custom string appended to the version
This adds `rust.description` to the config as a descriptive string to be
appended to `rustc --version` output, which is also used in places like
debuginfo `DW_AT_producer`. This may be useful for supplementary build
information, like distro-specific package versions.

For example, in Fedora 33, `gcc --version` outputs:

    gcc (GCC) 10.2.1 20201016 (Red Hat 10.2.1-6)

With this change, we can add similar vendor info to `rustc --version`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions