mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
update existing calls to roc_cache_dir()
using `roc_cache_packages_dir()` instead, which will return "~/.cache/roc/packages", which was the existing functionality, but `roc_cache_dir()` will now return "~/.cache/roc"
This commit is contained in:
parent
7c86cf026d
commit
3f318e2235
8 changed files with 14 additions and 14 deletions
|
@ -61,7 +61,7 @@ pub fn compile_to_mono<'a, 'i, I: Iterator<Item = &'i str>>(
|
|||
module_src,
|
||||
src_dir,
|
||||
None,
|
||||
RocCacheDir::Persistent(cache::roc_cache_dir().as_path()),
|
||||
RocCacheDir::Persistent(cache::roc_cache_packages_dir().as_path()),
|
||||
LoadConfig {
|
||||
target,
|
||||
function_kind: FunctionKind::LambdaSet,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue