diff options
| author | bors <bors@rust-lang.org> | 2020-11-21 15:43:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-11-21 15:43:09 +0000 |
| commit | d806d656578c2d6b34cf96809862e8cffb293a68 (patch) | |
| tree | 43fdf25af00fa8a4c660bcb79f4bad3b8146e960 /compiler/rustc_codegen_llvm/src/attributes.rs | |
| parent | 539402cb0b0f1639a4be14e40eaf8db61a62ae41 (diff) | |
| parent | 5f0856804292a6f4b73cb0f5771877657d8f6af8 (diff) | |
| download | rust-d806d656578c2d6b34cf96809862e8cffb293a68.tar.gz rust-d806d656578c2d6b34cf96809862e8cffb293a68.zip | |
Auto merge of #79115 - cuviper:rust-description, r=Mark-Simulacrum
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/attributes.rs')
0 files changed, 0 insertions, 0 deletions
