@@ -48,7 +48,9 @@ pub fn parse_config(args: Vec<String>) -> Config {
4848        . optopt ( "" ,  "rustdoc-path" ,  "path to rustdoc to use for compiling" ,  "PATH" ) 
4949        . optopt ( "" ,  "rust-demangler-path" ,  "path to rust-demangler to use in tests" ,  "PATH" ) 
5050        . optopt ( "" ,  "coverage-dump-path" ,  "path to coverage-dump to use in tests" ,  "PATH" ) 
51+         // FIXME(fmease): fix docs here 
5152        . reqopt ( "" ,  "python" ,  "path to python to use for doc tests" ,  "PATH" ) 
53+         . optopt ( "" ,  "htmldocck-path" ,  "path to htmldocck to use for doc tests" ,  "PATH" ) 
5254        . optopt ( "" ,  "jsondocck-path" ,  "path to jsondocck to use for doc tests" ,  "PATH" ) 
5355        . optopt ( "" ,  "jsondoclint-path" ,  "path to jsondoclint to use for doc tests" ,  "PATH" ) 
5456        . optopt ( "" ,  "valgrind-path" ,  "path to Valgrind executable for Valgrind tests" ,  "PROGRAM" ) 
@@ -235,6 +237,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
235237        rust_demangler_path :  matches. opt_str ( "rust-demangler-path" ) . map ( PathBuf :: from) , 
236238        coverage_dump_path :  matches. opt_str ( "coverage-dump-path" ) . map ( PathBuf :: from) , 
237239        python :  matches. opt_str ( "python" ) . unwrap ( ) , 
240+         htmldocck_path :  matches. opt_str ( "htmldocck-path" ) , 
238241        jsondocck_path :  matches. opt_str ( "jsondocck-path" ) , 
239242        jsondoclint_path :  matches. opt_str ( "jsondoclint-path" ) , 
240243        valgrind_path :  matches. opt_str ( "valgrind-path" ) , 
@@ -617,6 +620,7 @@ fn common_inputs_stamp(config: &Config) -> Stamp {
617620
618621    if  let  Some ( ref  rustdoc_path)  = config. rustdoc_path  { 
619622        stamp. add_path ( & rustdoc_path) ; 
623+         // FIXME(fmease): Update to `src/tools/htmldocck` or rm entirely 
620624        stamp. add_path ( & rust_src_dir. join ( "src/etc/htmldocck.py" ) ) ; 
621625    } 
622626
0 commit comments