Get rid of native_library projection queries
They don't seem particularly useful as I don't expect native libraries to change frequently.
This commit is contained in:
parent
d7dd01fe8b
commit
ccc54613c3
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