 ;;; Code:
 
 (require 'cl-lib)
-(require 'eieio)
 (require 'pcase)
 (require 'rx)
 (require 'subr-x)

             (_ (setq continue nil)))))
       (or result
           (signal 'elisp/runfiles/not-found
                   (list filename (oref runfiles filename)))))
      ((eq result :empty)
       (signal 'elisp/runfiles/empty
               (list filename (oref runfiles filename))))
      (t result))))

(cl-defmethod elisp/runfiles/env-vars--internal

         (while continue
           (pcase candidate
             ((rx bos (let prefix (+ anything)) ?/ (+ anything) (? ?/) eos)
              (if-let ((dir (gethash prefix
                                     (elisp/runfiles/runfiles--manifest-manifest
                                      runfiles))))
                  (setq result (concat dir (substring-no-properties
                                            filename (length prefix)))
                        continue nil)
