File tree 1 file changed +18
-15
lines changed
1 file changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -958,21 +958,24 @@ impl Build {
958
958
}
959
959
960
960
fn llvm_tools_vers ( & self ) -> String {
961
- let stdout = build_helper:: output (
962
- Command :: new ( self . llvm_out ( self . config . build ) . join ( "build/bin/llvm-size" ) )
963
- . arg ( "--version" ) ,
964
- ) ;
965
-
966
- for line in stdout. lines ( ) {
967
- if line. contains ( "LLVM version" ) {
968
- if let Some ( vers) = line. split_whitespace ( ) . nth ( 2 ) {
969
- return vers. to_string ( ) ;
970
- }
971
- }
972
- }
973
-
974
- panic ! ( "The output of $LLVM_TOOL has changed; \
975
- please fix `bootstrap::Build.llvm_tools_vers`") ;
961
+ // XXX should we use LLVM version here?
962
+ // let stdout = build_helper::output(
963
+ // Command::new(self.llvm_out(self.config.build).join("build/bin/llvm-size"))
964
+ // .arg("--version"),
965
+ // );
966
+
967
+ // for line in stdout.lines() {
968
+ // if line.contains("LLVM version") {
969
+ // if let Some(vers) = line.split_whitespace().nth(2) {
970
+ // return vers.to_string();
971
+ // }
972
+ // }
973
+ // }
974
+
975
+ // panic!("The output of $LLVM_TOOL has changed; \
976
+ // please fix `bootstrap::Build.llvm_tools_vers`");
977
+
978
+ self . rust_version ( )
976
979
}
977
980
978
981
/// Returns the `version` string associated with this compiler for Rust
You can’t perform that action at this time.
0 commit comments