sccache_add()
def sccache_add(name, version, visibility, deps)Add sccache to the workspace and to .cargo/config.toml.
Sets SCCACHE_DIR to store cache files in the spaces store.
Example:
load("//@star/packages/star/sccache.star", "sccache_add")
sccache_add("sccache0", "0.8")Args
name: string: The name of the rule.version: string: The version of sccache to add.visibility: Rule visibility. See visibility.star for more info.deps: list: List of deps (rust toolchain for cargobin)