File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/bootstrap/src/core/builder Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -683,7 +683,7 @@ impl Builder<'_> {
683683 . arg ( "--print=file-names" )
684684 . arg ( "--crate-type=proc-macro" )
685685 . arg ( "-" )
686- . run_capture ( self )
686+ . run_capture ( self . context ( ) )
687687 . stderr ( ) ;
688688
689689 let not_supported = error
@@ -990,8 +990,10 @@ impl Builder<'_> {
990990 // rustc args as a workaround.
991991 if mode == Mode :: ToolRustc || mode == Mode :: Codegen {
992992 if let Some ( llvm_config) = self . llvm_config ( target) {
993- let llvm_libdir =
994- command ( llvm_config) . arg ( "--libdir" ) . run_capture_stdout ( self ) . stdout ( ) ;
993+ let llvm_libdir = command ( llvm_config)
994+ . arg ( "--libdir" )
995+ . run_capture_stdout ( self . context ( ) )
996+ . stdout ( ) ;
995997 if target. is_msvc ( ) {
996998 rustflags. arg ( & format ! ( "-Clink-arg=-LIBPATH:{llvm_libdir}" ) ) ;
997999 } else {
You can’t perform that action at this time.
0 commit comments