@@ -124,9 +124,9 @@ pub(crate) struct Options {
124
124
/// temporary directory if not set.
125
125
pub ( crate ) persist_doctests : Option < PathBuf > ,
126
126
/// Runtool to run doctests with
127
- pub ( crate ) runtool : Option < String > ,
127
+ pub ( crate ) test_runtool : Option < String > ,
128
128
/// Arguments to pass to the runtool
129
- pub ( crate ) runtool_args : Vec < String > ,
129
+ pub ( crate ) test_runtool_args : Vec < String > ,
130
130
/// Whether to allow ignoring doctests on a per-target basis
131
131
/// For example, using ignore-foo to ignore running the doctest on any target that
132
132
/// contains "foo" as a substring
@@ -215,8 +215,8 @@ impl fmt::Debug for Options {
215
215
. field ( "persist_doctests" , & self . persist_doctests )
216
216
. field ( "show_coverage" , & self . show_coverage )
217
217
. 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 )
220
220
. field ( "enable-per-target-ignores" , & self . enable_per_target_ignores )
221
221
. field ( "run_check" , & self . run_check )
222
222
. field ( "no_run" , & self . no_run )
@@ -779,8 +779,8 @@ impl Options {
779
779
let unstable_opts_strs = matches. opt_strs ( "Z" ) ;
780
780
let lib_strs = matches. opt_strs ( "L" ) ;
781
781
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" ) ;
784
784
let enable_per_target_ignores = matches. opt_present ( "enable-per-target-ignores" ) ;
785
785
let document_private = matches. opt_present ( "document-private-items" ) ;
786
786
let document_hidden = matches. opt_present ( "document-hidden-items" ) ;
@@ -843,8 +843,8 @@ impl Options {
843
843
crate_version,
844
844
test_run_directory,
845
845
persist_doctests,
846
- runtool ,
847
- runtool_args ,
846
+ test_runtool ,
847
+ test_runtool_args ,
848
848
enable_per_target_ignores,
849
849
test_builder,
850
850
run_check,
0 commit comments