@@ -124,9 +124,9 @@ pub(crate) struct Options {
124124 /// temporary directory if not set.
125125 pub ( crate ) persist_doctests : Option < PathBuf > ,
126126 /// Runtool to run doctests with
127- pub ( crate ) runtool : Option < String > ,
127+ pub ( crate ) test_runtool : Option < String > ,
128128 /// Arguments to pass to the runtool
129- pub ( crate ) runtool_args : Vec < String > ,
129+ pub ( crate ) test_runtool_args : Vec < String > ,
130130 /// Whether to allow ignoring doctests on a per-target basis
131131 /// For example, using ignore-foo to ignore running the doctest on any target that
132132 /// contains "foo" as a substring
@@ -215,8 +215,8 @@ impl fmt::Debug for Options {
215215 . field ( "persist_doctests" , & self . persist_doctests )
216216 . field ( "show_coverage" , & self . show_coverage )
217217 . field ( "crate_version" , & self . crate_version )
218- . field ( "runtool " , & self . runtool )
219- . field ( "runtool_args " , & self . runtool_args )
218+ . field ( "test_runtool " , & self . test_runtool )
219+ . field ( "test_runtool_args " , & self . test_runtool_args )
220220 . field ( "enable-per-target-ignores" , & self . enable_per_target_ignores )
221221 . field ( "run_check" , & self . run_check )
222222 . field ( "no_run" , & self . no_run )
@@ -779,8 +779,8 @@ impl Options {
779779 let unstable_opts_strs = matches. opt_strs ( "Z" ) ;
780780 let lib_strs = matches. opt_strs ( "L" ) ;
781781 let extern_strs = matches. opt_strs ( "extern" ) ;
782- let runtool = matches. opt_str ( "runtool" ) ;
783- let runtool_args = matches. opt_strs ( "runtool-arg" ) ;
782+ let test_runtool = matches. opt_str ( "test- runtool" ) ;
783+ let test_runtool_args = matches. opt_strs ( "test- runtool-arg" ) ;
784784 let enable_per_target_ignores = matches. opt_present ( "enable-per-target-ignores" ) ;
785785 let document_private = matches. opt_present ( "document-private-items" ) ;
786786 let document_hidden = matches. opt_present ( "document-hidden-items" ) ;
@@ -843,8 +843,8 @@ impl Options {
843843 crate_version,
844844 test_run_directory,
845845 persist_doctests,
846- runtool ,
847- runtool_args ,
846+ test_runtool ,
847+ test_runtool_args ,
848848 enable_per_target_ignores,
849849 test_builder,
850850 run_check,
0 commit comments