Commit de44054 1 parent 935adb3 commit de44054 Copy full SHA for de44054
File tree 1 file changed +6
-13
lines changed
1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -1068,19 +1068,12 @@ fn calculate_normal<'a, 'cfg>(
1068
1068
1069
1069
// Figure out what the outputs of our unit is, and we'll be storing them
1070
1070
// into the fingerprint as well.
1071
- let outputs = if unit. mode . is_doc ( ) {
1072
- vec ! [ cx
1073
- . files( )
1074
- . out_dir( unit)
1075
- . join( unit. target. crate_name( ) )
1076
- . join( "index.html" ) ]
1077
- } else {
1078
- cx. outputs ( unit) ?
1079
- . iter ( )
1080
- . filter ( |output| output. flavor != FileFlavor :: DebugInfo )
1081
- . map ( |output| output. path . clone ( ) )
1082
- . collect ( )
1083
- } ;
1071
+ let outputs = cx
1072
+ . outputs ( unit) ?
1073
+ . iter ( )
1074
+ . filter ( |output| output. flavor != FileFlavor :: DebugInfo )
1075
+ . map ( |output| output. path . clone ( ) )
1076
+ . collect ( ) ;
1084
1077
1085
1078
// Fill out a bunch more information that we'll be tracking typically
1086
1079
// hashed to take up less space on disk as we just need to know when things
You can’t perform that action at this time.
0 commit comments