From fdb39551ddfb431ee1edb61731a68927a06649f7 Mon Sep 17 00:00:00 2001 From: dawnofmidnight Date: Wed, 24 Aug 2022 12:36:08 -0400 Subject: fix: use git-commit-info for version information This PR adds support for fetching version information from the `git-commit-info` file when building the compiler from a source tarball. --- config.toml.example | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config.toml.example') diff --git a/config.toml.example b/config.toml.example index a967d881b02..0caa7ea2998 100644 --- a/config.toml.example +++ b/config.toml.example @@ -521,6 +521,12 @@ changelog-seen = 2 # 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. +# +# The Rust compiler will differentiate between versions of itself, including +# based on this string, which means that if you wish to be compatible with +# upstream Rust you need to set this to "". However, note that if you are not +# actually compatible -- for example if you've backported patches that change +# behavior -- this may lead to miscompilations or other bugs. #description = (string) # The root location of the musl installation directory. The library directory -- cgit 1.4.1-3-g733a5