| 
									
										
										
										
											2024-08-15 07:59:49 -07:00
										 |  |  | # typed: strict | 
					
						
							| 
									
										
										
										
											2023-11-15 19:52:21 +00:00
										 |  |  | # frozen_string_literal: true | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class LinkageChecker | 
					
						
							|  |  |  |   undef system_libraries_exist_in_cache? | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   private | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-08-15 08:18:31 -07:00
										 |  |  |   sig { returns(T::Boolean) } | 
					
						
							| 
									
										
										
										
											2023-11-15 19:52:21 +00:00
										 |  |  |   def system_libraries_exist_in_cache? | 
					
						
							|  |  |  |     # In macOS Big Sur and later, system libraries do not exist on-disk and instead exist in a cache. | 
					
						
							|  |  |  |     MacOS.version >= :big_sur | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end |