Change producer string to have the rustc producer string as prefix

This fixes the comment-section run-make test
This commit is contained in:
bjorn3 2023-10-14 13:46:55 +00:00
parent 5a9b81a91e
commit ca53d2e8bb
2 changed files with 1 additions and 3 deletions

View file

@ -20,7 +20,7 @@ use crate::prelude::*;
pub(crate) fn producer() -> String {
format!(
"cg_clif (rustc {}, cranelift {})",
"rustc version {} with cranelift {}",
rustc_interface::util::rustc_version_str().unwrap_or("unknown version"),
cranelift_codegen::VERSION,
)