Skip to content

Commit 5d45523

Browse files
committed
switch from config to cache dir for build data
1 parent f04fb05 commit 5d45523

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.packaging/rust/src/utils.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ fn assert_existence(path: PathBuf) {
2424
}
2525
}
2626
pub fn get_enzyme_base_path() -> PathBuf {
27-
let cfg_dir = dirs::config_dir().expect("Enzyme needs access to your cfg dir.");
28-
dbg!(&cfg_dir);
29-
let enzyme_base_path = cfg_dir.join("enzyme");
27+
let cache_dir = dirs::cache_dir().expect("Enzyme needs access to your cache dir.");
28+
dbg!(&cache_dir);
29+
let enzyme_base_path = cache_dir.join("enzyme");
3030
assert_existence(enzyme_base_path.clone());
3131
dbg!(&enzyme_base_path);
3232
enzyme_base_path

0 commit comments

Comments
 (0)