diff options
Diffstat (limited to 'meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch')
-rw-r--r-- | meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch b/meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch index 0ba0921f59..20a49d46dc 100644 --- a/meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch +++ b/meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch | |||
@@ -40,9 +40,9 @@ index 39fa23766b..51d86b4009 100644 | |||
40 | 40 | ||
41 | -use rustc_data_structures::fx::{FxHashMap, FxHashSet}; | 41 | -use rustc_data_structures::fx::{FxHashMap, FxHashSet}; |
42 | +use rustc_data_structures::fx::FxHashMap; | 42 | +use rustc_data_structures::fx::FxHashMap; |
43 | use rustc_hir::def_id::CrateNum; | 43 | use rustc_hir::def_id::{CrateNum, LOCAL_CRATE}; |
44 | use rustc_index::IndexVec; | ||
44 | use rustc_middle::bug; | 45 | use rustc_middle::bug; |
45 | use rustc_middle::middle::dependency_format::{Dependencies, DependencyList, Linkage}; | ||
46 | @@ -161,44 +161,19 @@ fn calculate_type(tcx: TyCtxt<'_>, ty: CrateType) -> DependencyList { | 46 | @@ -161,44 +161,19 @@ fn calculate_type(tcx: TyCtxt<'_>, ty: CrateType) -> DependencyList { |
47 | } | 47 | } |
48 | Linkage::Dynamic | Linkage::IncludedFromDylib => {} | 48 | Linkage::Dynamic | Linkage::IncludedFromDylib => {} |