@@ -183,7 +183,7 @@ fn make_win_dist(
183
183
//Ask gcc where it keeps its stuff
184
184
let mut cmd = command ( builder. cc ( target) ) ;
185
185
cmd. arg ( "-print-search-dirs" ) ;
186
- let gcc_out = cmd. run_capture_stdout ( builder. context ( ) ) . stdout ( ) ;
186
+ let gcc_out = cmd. run_capture_stdout ( builder) . stdout ( ) ;
187
187
188
188
let mut bin_path: Vec < _ > = env:: split_paths ( & env:: var_os ( "PATH" ) . unwrap_or_default ( ) ) . collect ( ) ;
189
189
let mut lib_path = Vec :: new ( ) ;
@@ -1629,7 +1629,7 @@ impl Step for Extended {
1629
1629
. arg ( pkg. join ( component) )
1630
1630
. arg ( "--nopayload" )
1631
1631
. arg ( pkg. join ( component) . with_extension ( "pkg" ) ) ;
1632
- cmd. run ( builder. context ( ) ) ;
1632
+ cmd. run ( builder) ;
1633
1633
} ;
1634
1634
1635
1635
let prepare = |name : & str | {
@@ -1678,7 +1678,7 @@ impl Step for Extended {
1678
1678
. arg ( "--package-path" )
1679
1679
. arg ( & pkg) ;
1680
1680
let _time = timeit ( builder) ;
1681
- cmd. run ( builder. context ( ) ) ;
1681
+ cmd. run ( builder) ;
1682
1682
}
1683
1683
1684
1684
if target. is_windows ( ) {
@@ -1747,7 +1747,7 @@ impl Step for Extended {
1747
1747
. arg ( "var.RustcDir" )
1748
1748
. arg ( "-out" )
1749
1749
. arg ( exe. join ( "RustcGroup.wxs" ) )
1750
- . run ( builder. context ( ) ) ;
1750
+ . run ( builder) ;
1751
1751
if built_tools. contains ( "rust-docs" ) {
1752
1752
command ( & heat)
1753
1753
. current_dir ( & exe)
@@ -1764,7 +1764,7 @@ impl Step for Extended {
1764
1764
. arg ( exe. join ( "DocsGroup.wxs" ) )
1765
1765
. arg ( "-t" )
1766
1766
. arg ( etc. join ( "msi/squash-components.xsl" ) )
1767
- . run ( builder. context ( ) ) ;
1767
+ . run ( builder) ;
1768
1768
}
1769
1769
command ( & heat)
1770
1770
. current_dir ( & exe)
@@ -1781,7 +1781,7 @@ impl Step for Extended {
1781
1781
. arg ( exe. join ( "CargoGroup.wxs" ) )
1782
1782
. arg ( "-t" )
1783
1783
. arg ( etc. join ( "msi/remove-duplicates.xsl" ) )
1784
- . run ( builder. context ( ) ) ;
1784
+ . run ( builder) ;
1785
1785
command ( & heat)
1786
1786
. current_dir ( & exe)
1787
1787
. arg ( "dir" )
@@ -1795,7 +1795,7 @@ impl Step for Extended {
1795
1795
. arg ( "var.StdDir" )
1796
1796
. arg ( "-out" )
1797
1797
. arg ( exe. join ( "StdGroup.wxs" ) )
1798
- . run ( builder. context ( ) ) ;
1798
+ . run ( builder) ;
1799
1799
if built_tools. contains ( "rust-analyzer" ) {
1800
1800
command ( & heat)
1801
1801
. current_dir ( & exe)
@@ -1812,7 +1812,7 @@ impl Step for Extended {
1812
1812
. arg ( exe. join ( "RustAnalyzerGroup.wxs" ) )
1813
1813
. arg ( "-t" )
1814
1814
. arg ( etc. join ( "msi/remove-duplicates.xsl" ) )
1815
- . run ( builder. context ( ) ) ;
1815
+ . run ( builder) ;
1816
1816
}
1817
1817
if built_tools. contains ( "clippy" ) {
1818
1818
command ( & heat)
@@ -1830,7 +1830,7 @@ impl Step for Extended {
1830
1830
. arg ( exe. join ( "ClippyGroup.wxs" ) )
1831
1831
. arg ( "-t" )
1832
1832
. arg ( etc. join ( "msi/remove-duplicates.xsl" ) )
1833
- . run ( builder. context ( ) ) ;
1833
+ . run ( builder) ;
1834
1834
}
1835
1835
if built_tools. contains ( "rustfmt" ) {
1836
1836
command ( & heat)
@@ -1848,7 +1848,7 @@ impl Step for Extended {
1848
1848
. arg ( exe. join ( "RustFmtGroup.wxs" ) )
1849
1849
. arg ( "-t" )
1850
1850
. arg ( etc. join ( "msi/remove-duplicates.xsl" ) )
1851
- . run ( builder. context ( ) ) ;
1851
+ . run ( builder) ;
1852
1852
}
1853
1853
if built_tools. contains ( "miri" ) {
1854
1854
command ( & heat)
@@ -1866,7 +1866,7 @@ impl Step for Extended {
1866
1866
. arg ( exe. join ( "MiriGroup.wxs" ) )
1867
1867
. arg ( "-t" )
1868
1868
. arg ( etc. join ( "msi/remove-duplicates.xsl" ) )
1869
- . run ( builder. context ( ) ) ;
1869
+ . run ( builder) ;
1870
1870
}
1871
1871
command ( & heat)
1872
1872
. current_dir ( & exe)
@@ -1883,7 +1883,7 @@ impl Step for Extended {
1883
1883
. arg ( exe. join ( "AnalysisGroup.wxs" ) )
1884
1884
. arg ( "-t" )
1885
1885
. arg ( etc. join ( "msi/remove-duplicates.xsl" ) )
1886
- . run ( builder. context ( ) ) ;
1886
+ . run ( builder) ;
1887
1887
if target. is_windows_gnu ( ) {
1888
1888
command ( & heat)
1889
1889
. current_dir ( & exe)
@@ -1898,7 +1898,7 @@ impl Step for Extended {
1898
1898
. arg ( "var.GccDir" )
1899
1899
. arg ( "-out" )
1900
1900
. arg ( exe. join ( "GccGroup.wxs" ) )
1901
- . run ( builder. context ( ) ) ;
1901
+ . run ( builder) ;
1902
1902
}
1903
1903
1904
1904
let candle = |input : & Path | {
@@ -1936,7 +1936,7 @@ impl Step for Extended {
1936
1936
if target. is_windows_gnu ( ) {
1937
1937
cmd. arg ( "-dGccDir=rust-mingw" ) ;
1938
1938
}
1939
- cmd. run ( builder. context ( ) ) ;
1939
+ cmd. run ( builder) ;
1940
1940
} ;
1941
1941
candle ( & xform ( & etc. join ( "msi/rust.wxs" ) ) ) ;
1942
1942
candle ( & etc. join ( "msi/ui.wxs" ) ) ;
@@ -2011,7 +2011,7 @@ impl Step for Extended {
2011
2011
cmd. arg ( "-sice:ICE57" ) ;
2012
2012
2013
2013
let _time = timeit ( builder) ;
2014
- cmd. run ( builder. context ( ) ) ;
2014
+ cmd. run ( builder) ;
2015
2015
2016
2016
if !builder. config . dry_run ( ) {
2017
2017
t ! ( move_file( exe. join( & filename) , distdir( builder) . join( & filename) ) ) ;
@@ -2155,7 +2155,7 @@ fn maybe_install_llvm(
2155
2155
let mut cmd = command ( llvm_config) ;
2156
2156
cmd. arg ( "--libfiles" ) ;
2157
2157
builder. verbose ( || println ! ( "running {cmd:?}" ) ) ;
2158
- let files = cmd. run_capture_stdout ( builder. context ( ) ) . stdout ( ) ;
2158
+ let files = cmd. run_capture_stdout ( builder) . stdout ( ) ;
2159
2159
let build_llvm_out = & builder. llvm_out ( builder. config . build ) ;
2160
2160
let target_llvm_out = & builder. llvm_out ( target) ;
2161
2161
for file in files. trim_end ( ) . split ( ' ' ) {
0 commit comments