Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 658 Bytes

File metadata and controls

22 lines (17 loc) · 658 Bytes

Artifact identity and caching

Every compiled artifact — a direct rustc build, a generated Cargo project, a monomorphized generic, a @rust_crate library — is named by an RustCall.ArtifactId and looked up by its RustCall.artifact_key. Identity is computed in exactly one place, src/artifact_id.jl; the cache in src/cache.jl stores what that identity names, in a Scratch.jl space (#252, #278).

Artifact identity (src/artifact_id.jl)

Modules = [RustCall]
Pages = [joinpath("src", "artifact_id.jl")]

Cache (src/cache.jl)

Modules = [RustCall]
Pages = [joinpath("src", "cache.jl")]