Skip to content

Commit 3173d28

Browse files
committed
Drop old coreclr loading and update the error index
1 parent 7a703e6 commit 3173d28

File tree

5 files changed

+1073
-1607
lines changed

5 files changed

+1073
-1607
lines changed

clr_loader/coreclr.py

Lines changed: 0 additions & 94 deletions
This file was deleted.

clr_loader/ffi/__init__.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,16 @@
55

66
import cffi
77

8-
from . import coreclr, hostfxr, mono, netfx
8+
from . import hostfxr, mono, netfx
99

10-
__all__ = ["ffi", "load_coreclr", "load_hostfxr", "load_mono", "load_netfx"]
10+
__all__ = ["ffi", "load_hostfxr", "load_mono", "load_netfx"]
1111

1212
ffi = cffi.FFI()
1313

14-
for cdef in coreclr.cdef + hostfxr.cdef + mono.cdef + netfx.cdef:
14+
for cdef in hostfxr.cdef + mono.cdef + netfx.cdef:
1515
ffi.cdef(cdef)
1616

1717

18-
def load_coreclr(runtime):
19-
dll_name = _get_dll_name("coreclr")
20-
dll_path = os.path.join(runtime.path, dll_name)
21-
return ffi.dlopen(dll_path)
22-
23-
2418
def load_hostfxr(dotnet_root):
2519
hostfxr_name = _get_dll_name("hostfxr")
2620
hostfxr_path = os.path.join(dotnet_root, "host", "fxr", "?.*", hostfxr_name)

clr_loader/ffi/coreclr.py

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)