kache
Configuration
| Option | Type | Default | Required |
|---|---|---|---|
| cacheExecutables | bool | false | no |
Example
export const kacheConfig = {
cacheExecutables: false,
};kacheToolchain()
kacheToolchain(version, opts = {})
Declare a kache toolchain version and optionally set it as the default. matching lockfile entry (warns instead of failing). KACHE_CACHE_DIR's on-disk size (kache's own default is 50 GiB; imp's GC can't prune inside it, only delete it wholesale — see RustKacheWrapper's doc comment).
| Parameter | Type | Description |
|---|---|---|
| version | string | |
| [opts] | object | |
| [opts.default=false] | boolean | |
| [opts.unverified=false] | boolean | Allow downloading without a |
| [opts.cacheSize="4GiB"] | string | KACHE_MAX_SIZE — caps |
Returns: object Target handle for this kache toolchain.