module Bootsnap::CompileCache

def self.setup(cache_dir:, iseq:, yaml:)

def self.setup(cache_dir:, iseq:, yaml:)
  if iseq
    require_relative 'compile_cache/iseq'
    Bootsnap::CompileCache::ISeq.install!(cache_dir)
  end
  if yaml
    require_relative 'compile_cache/yaml'
    Bootsnap::CompileCache::YAML.install!(cache_dir)
  end
end