@@ -2043,6 +2043,7 @@ HELP: You can add it into `bootstrap.toml` in `rust.codegen-backends = [{name:?}
2043
2043
if !builder. config . dry_run ( ) {
2044
2044
let llvm_version = get_llvm_version ( builder, & host_llvm_config) ;
2045
2045
let llvm_components = command ( & host_llvm_config)
2046
+ . cached ( )
2046
2047
. arg ( "--components" )
2047
2048
. run_capture_stdout ( builder)
2048
2049
. stdout ( ) ;
@@ -2062,8 +2063,11 @@ HELP: You can add it into `bootstrap.toml` in `rust.codegen-backends = [{name:?}
2062
2063
// separate compilations. We can add LLVM's library path to the
2063
2064
// rustc args as a workaround.
2064
2065
if !builder. config . dry_run ( ) && suite. ends_with ( "fulldeps" ) {
2065
- let llvm_libdir =
2066
- command ( & host_llvm_config) . arg ( "--libdir" ) . run_capture_stdout ( builder) . stdout ( ) ;
2066
+ let llvm_libdir = command ( & host_llvm_config)
2067
+ . cached ( )
2068
+ . arg ( "--libdir" )
2069
+ . run_capture_stdout ( builder)
2070
+ . stdout ( ) ;
2067
2071
let link_llvm = if target. is_msvc ( ) {
2068
2072
format ! ( "-Clink-arg=-LIBPATH:{llvm_libdir}" )
2069
2073
} else {
0 commit comments