We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c486f7 commit 7923a66Copy full SHA for 7923a66
src/bootstrap/test.rs
@@ -1139,6 +1139,8 @@ impl Step for Compiletest {
1139
let llvm_config = builder.ensure(native::Llvm { target: builder.config.build });
1140
if !builder.config.dry_run {
1141
let llvm_version = output(Command::new(&llvm_config).arg("--version"));
1142
+ // Remove trailing newline from llvm-config output.
1143
+ let llvm_version = llvm_version.trim_end();
1144
cmd.arg("--llvm-version").arg(llvm_version);
1145
}
1146
if !builder.is_rust_llvm(target) {
0 commit comments