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<'_> {
683
683
. arg ( "--print=file-names" )
684
684
. arg ( "--crate-type=proc-macro" )
685
685
. arg ( "-" )
686
- . run_capture ( self )
686
+ . run_capture ( self . context ( ) )
687
687
. stderr ( ) ;
688
688
689
689
let not_supported = error
@@ -990,8 +990,10 @@ impl Builder<'_> {
990
990
// rustc args as a workaround.
991
991
if mode == Mode :: ToolRustc || mode == Mode :: Codegen {
992
992
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 ( ) ;
995
997
if target. is_msvc ( ) {
996
998
rustflags. arg ( & format ! ( "-Clink-arg=-LIBPATH:{llvm_libdir}" ) ) ;
997
999
} else {
You can’t perform that action at this time.
0 commit comments