@@ -24,7 +24,6 @@ pub struct TestOpts {
2424 pub list : bool ,
2525 pub filters : Vec < String > ,
2626 pub filter_exact : bool ,
27- pub force_run_in_process : bool ,
2827 pub run_ignored : RunIgnored ,
2928 pub run_tests : bool ,
3029 pub bench_benchmarks : bool ,
@@ -193,8 +192,6 @@ Options:
193192 --include-ignored
194193 Run ignored and not ignored tests
195194 --ignored Run only ignored tests
196- --force-run-in-process
197- Forces tests to run in-process when panic=abort
198195 --test Run tests and not benchmarks
199196 --bench Run benchmarks instead of tests
200197 --list List all tests and benchmarks
@@ -315,9 +312,6 @@ impl TestOptsBuilder {
315312 self . include_ignored = true ;
316313 }
317314 Long ( "ignored" ) => self . ignored = true ,
318- Long ( "force-run-in-process" ) => {
319- self . opts . force_run_in_process = true ;
320- }
321315 Long ( "test" ) => {
322316 self . opts . run_tests = true ;
323317 }
@@ -443,12 +437,6 @@ impl TestOptsBuilder {
443437 . iter ( )
444438 . any ( |f| f == UNSTABLE_OPTIONS ) ;
445439
446- if self . opts . force_run_in_process && !allow_unstable_options {
447- return Err ( ErrorContext :: msg (
448- "`--force-run-in-process` requires `-Zunstable-options`" ,
449- ) ) ;
450- }
451-
452440 if self . opts . shuffle && !allow_unstable_options {
453441 return Err ( ErrorContext :: msg (
454442 "`--shuffle` requires `-Zunstable-options`" ,
0 commit comments