@@ -299,17 +299,17 @@ public final class ActoolCompilerSpec : GenericCompilerSpec, SpecIdentifierType,
299299                    ( macro ==  BuiltinMacros . ASSETCATALOG_COMPILER_INPUTS)  ?  cbc. scope. table. namespace. parseLiteralStringList ( assetSymbolInputs. map  {  $0. path. str } )  :  lookup ( macro) 
300300                } 
301301
302-                 let  cachingEnabled  =  cbc. scope. evaluate ( BuiltinMacros . ENABLE_GENERIC_TASK_CACHING) 
303302                let  action :  ( any  PlannedTaskAction ) ? 
304303                if  let  deferredAction =  delegate. taskActionCreationDelegate. createDeferredExecutionTaskActionIfRequested ( userPreferences:  cbc. producer. userPreferences)  { 
305304                    action =  deferredAction
306-                 }  else  if  cachingEnabled  { 
305+                 }  else  if  cbc . scope . evaluate ( BuiltinMacros . ENABLE_GENERIC_TASK_CACHING ) ,   let  casOptions  =   try ?   CASOptions . create ( cbc . scope ,   nil )  { 
307306                    action =  delegate. taskActionCreationDelegate. createGenericCachingTaskAction ( 
308307                        enableCacheDebuggingRemarks:  cbc. scope. evaluate ( BuiltinMacros . GENERIC_TASK_CACHE_ENABLE_DIAGNOSTIC_REMARKS) , 
309308                        enableTaskSandboxEnforcement:  !cbc. scope. evaluate ( BuiltinMacros . DISABLE_TASK_SANDBOXING) , 
310309                        sandboxDirectory:  cbc. scope. evaluate ( BuiltinMacros . TEMP_SANDBOX_DIR) , 
311310                        extraSandboxSubdirectories:  [ ] , 
312-                         developerDirectory:  cbc. scope. evaluate ( BuiltinMacros . DEVELOPER_DIR) 
311+                         developerDirectory:  cbc. scope. evaluate ( BuiltinMacros . DEVELOPER_DIR) , 
312+                         casOptions:  casOptions
313313                    ) 
314314                }  else  { 
315315                    action =  nil 
@@ -359,17 +359,17 @@ public final class ActoolCompilerSpec : GenericCompilerSpec, SpecIdentifierType,
359359            var  ruleInfo  =  defaultRuleInfo ( cbc,  delegate,  lookup:  lookup) 
360360            ruleInfo [ 0 ..< 1 ]  =  [ " CompileAssetCatalogVariant " ,  variant. rawValue] 
361361
362-             let  cachingEnabled  =  cbc. scope. evaluate ( BuiltinMacros . ENABLE_GENERIC_TASK_CACHING) 
363362            let  action :  ( any  PlannedTaskAction ) ? 
364363            if  let  deferredAction =  delegate. taskActionCreationDelegate. createDeferredExecutionTaskActionIfRequested ( userPreferences:  cbc. producer. userPreferences)  { 
365364                action =  deferredAction
366-             }  else  if  cachingEnabled  { 
365+             }  else  if  cbc . scope . evaluate ( BuiltinMacros . ENABLE_GENERIC_TASK_CACHING ) ,   let  casOptions  =   try ?   CASOptions . create ( cbc . scope ,   nil )  { 
367366                action =  delegate. taskActionCreationDelegate. createGenericCachingTaskAction ( 
368367                    enableCacheDebuggingRemarks:  cbc. scope. evaluate ( BuiltinMacros . GENERIC_TASK_CACHE_ENABLE_DIAGNOSTIC_REMARKS) , 
369368                    enableTaskSandboxEnforcement:  !cbc. scope. evaluate ( BuiltinMacros . DISABLE_TASK_SANDBOXING) , 
370369                    sandboxDirectory:  cbc. scope. evaluate ( BuiltinMacros . TEMP_SANDBOX_DIR) , 
371370                    extraSandboxSubdirectories:  [ Path ( " outputs/0/ \( overrideDir. basename) " ) ] , 
372-                     developerDirectory:  cbc. scope. evaluate ( BuiltinMacros . DEVELOPER_DIR) 
371+                     developerDirectory:  cbc. scope. evaluate ( BuiltinMacros . DEVELOPER_DIR) , 
372+                     casOptions:  casOptions
373373                ) 
374374            }  else  { 
375375                action =  nil 
0 commit comments