Auto merge of #103196 - Nilstrieb:no-meta-query, r=cjgillot
Get rid of native_library projection queries They don't seem particularly useful as I don't expect native libraries to change frequently. Maybe they do provide significant value of keeping incremental compilation green though, I'm not sure.
This commit is contained in:
commit
3022afe3d1
7 changed files with 18 additions and 25 deletions
|
@ -1587,16 +1587,6 @@ rustc_queries! {
|
|||
separate_provide_extern
|
||||
}
|
||||
|
||||
query is_dllimport_foreign_item(def_id: DefId) -> bool {
|
||||
desc { |tcx| "checking if `{}` is a a dylib", tcx.def_path_str(def_id) }
|
||||
}
|
||||
query is_statically_included_foreign_item(def_id: DefId) -> bool {
|
||||
desc { |tcx| "checking if `{}` is a staticlib", tcx.def_path_str(def_id) }
|
||||
}
|
||||
query native_library_kind(def_id: DefId)
|
||||
-> Option<NativeLibKind> {
|
||||
desc { |tcx| "getting the native library kind of `{}`", tcx.def_path_str(def_id) }
|
||||
}
|
||||
query native_library(def_id: DefId) -> Option<&'tcx NativeLib> {
|
||||
desc { |tcx| "getting the native library for `{}`", tcx.def_path_str(def_id) }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue