module Kernel

def load(path, wrap = false)

def load(path, wrap = false)
  if (resolved = Bootsnap::LoadPathCache.load_path_cache.find(Bootsnap.rb_get_path(path), try_extensions: false))
    load_without_bootsnap(resolved, wrap)
  else
    load_without_bootsnap(path, wrap)
  end
end