File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2625,7 +2625,7 @@ fn analyze() {
2625
2625
// todo handle all Executables
2626
2626
2627
2627
// reduce code using $Executable,
2628
- // make sure to prlimit that
2628
+ // make sure to prlimit that // check
2629
2629
// try to fmt the mcve
2630
2630
// ok => save fmttd
2631
2631
// rustfmt needs --edition from ice.flags
@@ -2669,7 +2669,10 @@ fn analyze() {
2669
2669
let bin = executable. path ( ) ;
2670
2670
2671
2671
if matches ! ( Executable :: Rustc , executable) {
2672
- let mut trd = std:: process:: Command :: new ( "treereduce-rust" ) ;
2672
+ let mut trd = std:: process:: Command :: new ( "prlimit" ) ;
2673
+ trd. arg ( format ! ( "--as={}" , 3076_u32 * 1000_u32 * 1000_u32 ) )
2674
+ . arg ( format ! ( "--cpu=120" ) ) // 2 mins
2675
+ . arg ( "treereduce-rust" ) ;
2673
2676
trd. args ( [
2674
2677
"--quiet" ,
2675
2678
"--passes=10" ,
You can’t perform that action at this time.
0 commit comments