@@ -122,9 +122,9 @@ pub(crate) struct Options {
122
122
/// temporary directory if not set.
123
123
pub ( crate ) persist_doctests : Option < PathBuf > ,
124
124
/// Runtool to run doctests with
125
- pub ( crate ) runtool : Option < String > ,
125
+ pub ( crate ) test_runtool : Option < String > ,
126
126
/// Arguments to pass to the runtool
127
- pub ( crate ) runtool_args : Vec < String > ,
127
+ pub ( crate ) test_runtool_args : Vec < String > ,
128
128
/// Whether to allow ignoring doctests on a per-target basis
129
129
/// For example, using ignore-foo to ignore running the doctest on any target that
130
130
/// contains "foo" as a substring
@@ -212,8 +212,8 @@ impl fmt::Debug for Options {
212
212
. field ( "persist_doctests" , & self . persist_doctests )
213
213
. field ( "show_coverage" , & self . show_coverage )
214
214
. 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 )
217
217
. field ( "enable-per-target-ignores" , & self . enable_per_target_ignores )
218
218
. field ( "run_check" , & self . run_check )
219
219
. field ( "no_run" , & self . no_run )
@@ -765,8 +765,8 @@ impl Options {
765
765
let unstable_opts_strs = matches. opt_strs ( "Z" ) ;
766
766
let lib_strs = matches. opt_strs ( "L" ) ;
767
767
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" ) ;
770
770
let enable_per_target_ignores = matches. opt_present ( "enable-per-target-ignores" ) ;
771
771
let document_private = matches. opt_present ( "document-private-items" ) ;
772
772
let document_hidden = matches. opt_present ( "document-hidden-items" ) ;
@@ -828,8 +828,8 @@ impl Options {
828
828
crate_version,
829
829
test_run_directory,
830
830
persist_doctests,
831
- runtool ,
832
- runtool_args ,
831
+ test_runtool ,
832
+ test_runtool_args ,
833
833
enable_per_target_ignores,
834
834
test_builder,
835
835
run_check,
0 commit comments