• A
    rustc: Move a few more cstore methods to queries · dff0c074
    Alex Crichton 提交于
    This comit applies the following changes:
    
    * Deletes the `is_allocator` query as it's no longer used
    * Moves the `is_sanitizer_runtime` method to a query
    * Moves the `is_profiler_runtime` method to a query
    * Moves the `panic_strategy` method to a query
    * Moves the `is_no_builtins` method to a query
    * Deletes the cstore method of `is_compiler_builtins`. The query was added in
      #42588 but the `CrateStore` method was not deleted
    
    A good bit of these methods were used late in linking during trans so a new
    dedicated structure was created to ship a calculated form of this information
    over to the linker rather than having to ship the whole of `TyCtxt` over to
    linking.
    dff0c074
cstore.rs 15.2 KB