Skip to content

Commit

Permalink
Change producer string to have the rustc producer string as prefix
Browse files Browse the repository at this point in the history
This fixes the comment-section run-make test
  • Loading branch information
bjorn3 committed Oct 14, 2023
1 parent 5a9b81a commit ca53d2e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions scripts/test_rustc_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/debuginfo/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit ca53d2e

Please sign in to comment.