about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-10-14 13:46:55 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-10-14 13:46:55 +0000
commitca53d2e8bbdfc75820954ec2ad9e087e82a72142 (patch)
tree1f2fde52d2a448124176e9f2267f0a8b345c4e87
parent5a9b81a91e9918d4464da7bb496f78d586881c46 (diff)
downloadrust-ca53d2e8bbdfc75820954ec2ad9e087e82a72142.tar.gz
rust-ca53d2e8bbdfc75820954ec2ad9e087e82a72142.zip
Change producer string to have the rustc producer string as prefix
This fixes the comment-section run-make test
-rwxr-xr-xscripts/test_rustc_tests.sh2
-rw-r--r--src/debuginfo/mod.rs2
2 files changed, 1 insertions, 3 deletions
diff --git a/scripts/test_rustc_tests.sh b/scripts/test_rustc_tests.sh
index e6a8dc99cbd..4b6d5bd97b8 100755
--- a/scripts/test_rustc_tests.sh
+++ b/scripts/test_rustc_tests.sh
@@ -27,8 +27,6 @@ rm tests/ui/parser/unclosed-delimiter-in-dep.rs # submodule contains //~ERROR
 # missing features
 # ================
 
-rm -r tests/run-make/comment-section # cg_clif doesn't yet write the .comment section
-
 # requires stack unwinding
 # FIXME add needs-unwind to these tests
 rm -r tests/run-make/libtest-junit
diff --git a/src/debuginfo/mod.rs b/src/debuginfo/mod.rs
index 9e78cc259ce..dd0c14dae23 100644
--- a/src/debuginfo/mod.rs
+++ b/src/debuginfo/mod.rs
@@ -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,
     )