pub fn compilation_store<K: StoreKey, V: StoreValue>(
backend: &'static str,
fingerprint: impl AsRef<str>,
) -> Option<Store<K, V>>Expand description
A store for backend’s compiled artifacts, or None when compilation
caching is disabled or the target has nowhere durable to put them.
fingerprint names what the artifacts were built for — an architecture, a
device — and becomes part of the namespace. Compiled code is not portable
across those, so this is what keeps a bundle shipped between machines from
serving the wrong binary. It needs no sanitizing: a namespace is a database
column, never a path.