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 7970896 commit f2ea498Copy full SHA for f2ea498
src/bootstrap/test.rs
@@ -1140,6 +1140,8 @@ impl Step for Compiletest {
1140
let llvm_config = builder.ensure(native::Llvm { target: builder.config.build });
1141
if !builder.config.dry_run {
1142
let llvm_version = output(Command::new(&llvm_config).arg("--version"));
1143
+ // Remove trailing newline from llvm-config output.
1144
+ let llvm_version = llvm_version.trim_end();
1145
cmd.arg("--llvm-version").arg(llvm_version);
1146
}
1147
if !builder.is_rust_llvm(target) {
0 commit comments