diff --git a/.github/workflows/win.yml b/.github/workflows/win.yml index 03aac8e2f0b1..aacf1a4aae4f 100644 --- a/.github/workflows/win.yml +++ b/.github/workflows/win.yml @@ -276,6 +276,9 @@ jobs: - name: Run compiler specs run: make -f Makefile.win compiler_spec + - name: Run interpreter specs + run: make -f Makefile.win interpreter_spec + - name: Run primitives specs run: make -f Makefile.win -o .build\crystal.exe primitives_spec # we know the compiler is fresh; do not rebuild it here diff --git a/src/compiler/crystal/interpreter/context.cr b/src/compiler/crystal/interpreter/context.cr index c2c1537e002d..987781c4aefb 100644 --- a/src/compiler/crystal/interpreter/context.cr +++ b/src/compiler/crystal/interpreter/context.cr @@ -434,7 +434,7 @@ class Crystal::Repl::Context # used in `Crystal::Program#each_dll_path` private def dll_search_paths {% if flag?(:msvc) %} - paths = CrystalLibraryPath.paths + paths = CrystalLibraryPath.default_paths if executable_path = Process.executable_path paths << File.dirname(executable_path)