MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / provide

Function provide

crates/rustc_codegen_spirv/src/attr.rs:499–508  ·  view source on GitHub ↗
(providers: &mut Providers)

Source from the content-addressed store, hash-verified

497}
498
499pub(crate) fn provide(providers: &mut Providers) {
500 *providers = Providers {
501 check_mod_attrs: |tcx, def_id| {
502 // Run both the default checks, and our `#[spirv(...)]` ones.
503 (rustc_interface::DEFAULT_QUERY_PROVIDERS.check_mod_attrs)(tcx, def_id);
504 check_mod_attrs(tcx, def_id);
505 },
506 ..*providers
507 };
508}

Callers

nothing calls this directly

Calls 1

check_mod_attrsFunction · 0.85

Tested by

no test coverage detected