@@ -414,7 +414,7 @@ top_level_options!(
414
414
415
415
// The list of crates to consider public for
416
416
// checking leaked private dependency types in public interfaces
417
- extern_public: FxHashSet <String > [ UNTRACKED ] ,
417
+ extern_public: Vec <String > [ TRACKED ] ,
418
418
}
419
419
) ;
420
420
@@ -610,7 +610,7 @@ impl Default for Options {
610
610
cli_forced_thinlto_off : false ,
611
611
remap_path_prefix : Vec :: new ( ) ,
612
612
edition : DEFAULT_EDITION ,
613
- extern_public : FxHashSet :: default ( )
613
+ extern_public : vec ! [ ]
614
614
}
615
615
}
616
616
}
@@ -1925,12 +1925,12 @@ pub fn build_session_options_and_crate_config(
1925
1925
)
1926
1926
}
1927
1927
1928
- let mut extern_public: FxHashSet < String > = matches. opt_strs ( "extern-public" ) .
1928
+ let mut extern_public: Vec < String > = matches. opt_strs ( "extern-public" ) .
1929
1929
iter ( ) . cloned ( ) . collect ( ) ;
1930
1930
1931
1931
// FIXME - come up with a better way of handling this
1932
- extern_public. insert ( "core" . to_string ( ) ) ;
1933
- extern_public. insert ( "std" . to_string ( ) ) ;
1932
+ extern_public. push ( "core" . to_string ( ) ) ;
1933
+ extern_public. push ( "std" . to_string ( ) ) ;
1934
1934
1935
1935
let ( lint_opts, describe_lints, lint_cap) = get_cmd_lint_options ( matches, error_format) ;
1936
1936
0 commit comments