@@ -596,7 +596,7 @@ pub fn create_bcx<'a, 'cfg>(
596
596
}
597
597
598
598
if let Some ( filter) = rustdoc_scrape_examples {
599
- // Run cargo rustdoc --scrape-examples to generate calls.jsons for each file in `filter`
599
+ // Run cargo rustdoc --scrape-examples to generate calls for each file in `filter`
600
600
let paths = {
601
601
// Run in doc mode with the given `filter`
602
602
let compile_mode = CompileMode :: Doc { deps : false } ;
@@ -612,15 +612,15 @@ pub fn create_bcx<'a, 'cfg>(
612
612
let interner = UnitInterner :: new ( ) ;
613
613
let mut bcx = create_bcx ( ws, & example_compile_opts, & interner) ?;
614
614
615
- // Make an output path for calls.json for each build unit
615
+ // Make an output path for calls for each build unit
616
616
let paths = {
617
617
// FIXME(wcrichto): is there a better place to store these files?
618
618
let dest = bcx. profiles . get_dir_name ( ) ;
619
619
let layout = Layout :: new ( ws, None , & dest) ?;
620
620
let output_dir = layout. prepare_tmp ( ) ?;
621
621
bcx. roots
622
622
. iter ( )
623
- . map ( |unit| output_dir. join ( format ! ( "{}-calls.json " , unit. buildkey( ) ) ) )
623
+ . map ( |unit| output_dir. join ( format ! ( "{}.calls " , unit. buildkey( ) ) ) )
624
624
. collect :: < Vec < _ > > ( )
625
625
} ;
626
626
@@ -688,7 +688,7 @@ pub fn create_bcx<'a, 'cfg>(
688
688
paths
689
689
} ;
690
690
691
- // Add "--with-examples *-calls.json " to the current rustdoc invocation
691
+ // Add "--with-examples *.calls " to the current rustdoc invocation
692
692
let args = paths
693
693
. into_iter ( )
694
694
. map ( |path| vec ! [ "--with-examples" . into( ) , path. into_os_string( ) ] . into_iter ( ) )
0 commit comments