mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 12:15:09 -05:00
fix: disable cache write on macos
This commit is contained in:
@@ -148,6 +148,7 @@ pub static SHARED_CACHE: MultiSecPersistDecompCache = SECURITY_WEIGHTS_TABLE
|
||||
})
|
||||
.collect::<MultiSecPersistDecompCache>();
|
||||
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
#[static_init::destructor(10)]
|
||||
extern "C" fn finaly() {
|
||||
for v in SHARED_CACHE.values() {
|
||||
|
||||
@@ -149,6 +149,7 @@ pub static SHARED_CACHE: MultiSecPersistDecompCache = SECURITY_WEIGHTS_TABLE
|
||||
})
|
||||
.collect::<MultiSecPersistDecompCache>();
|
||||
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
#[static_init::destructor(10)]
|
||||
extern "C" fn finaly() {
|
||||
for v in SHARED_CACHE.values() {
|
||||
|
||||
Reference in New Issue
Block a user