@@ -122,9 +122,9 @@ pub(crate) struct Options {
122122 /// temporary directory if not set.
123123 pub ( crate ) persist_doctests : Option < PathBuf > ,
124124 /// Runtool to run doctests with
125- pub ( crate ) runtool : Option < String > ,
125+ pub ( crate ) test_runtool : Option < String > ,
126126 /// Arguments to pass to the runtool
127- pub ( crate ) runtool_args : Vec < String > ,
127+ pub ( crate ) test_runtool_args : Vec < String > ,
128128 /// Whether to allow ignoring doctests on a per-target basis
129129 /// For example, using ignore-foo to ignore running the doctest on any target that
130130 /// contains "foo" as a substring
@@ -212,8 +212,8 @@ impl fmt::Debug for Options {
212212 . field ( "persist_doctests" , & self . persist_doctests )
213213 . field ( "show_coverage" , & self . show_coverage )
214214 . field ( "crate_version" , & self . crate_version )
215- . field ( "runtool " , & self . runtool )
216- . field ( "runtool_args " , & self . runtool_args )
215+ . field ( "test_runtool " , & self . test_runtool )
216+ . field ( "test_runtool_args " , & self . test_runtool_args )
217217 . field ( "enable-per-target-ignores" , & self . enable_per_target_ignores )
218218 . field ( "run_check" , & self . run_check )
219219 . field ( "no_run" , & self . no_run )
@@ -765,8 +765,8 @@ impl Options {
765765 let unstable_opts_strs = matches. opt_strs ( "Z" ) ;
766766 let lib_strs = matches. opt_strs ( "L" ) ;
767767 let extern_strs = matches. opt_strs ( "extern" ) ;
768- let runtool = matches. opt_str ( "runtool" ) ;
769- let runtool_args = matches. opt_strs ( "runtool-arg" ) ;
768+ let test_runtool = matches. opt_str ( "test- runtool" ) ;
769+ let test_runtool_args = matches. opt_strs ( "test- runtool-arg" ) ;
770770 let enable_per_target_ignores = matches. opt_present ( "enable-per-target-ignores" ) ;
771771 let document_private = matches. opt_present ( "document-private-items" ) ;
772772 let document_hidden = matches. opt_present ( "document-hidden-items" ) ;
@@ -828,8 +828,8 @@ impl Options {
828828 crate_version,
829829 test_run_directory,
830830 persist_doctests,
831- runtool ,
832- runtool_args ,
831+ test_runtool ,
832+ test_runtool_args ,
833833 enable_per_target_ignores,
834834 test_builder,
835835 run_check,
0 commit comments