Skip to content

Commit

Permalink
rem - Taken down support for 32-bit architectures
Browse files Browse the repository at this point in the history
---

In order to comply with our latest requirements, we have to remove all support for 32-bit systems.

---

Type: rem
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Aug 11, 2024
1 parent 822046c commit ef08a80
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Magico.Native/Initializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,11 @@ internal static void InitializeNative()
if (!File.Exists(libPath))
throw new Exception($"Can't load magic library because it isn't found. Magic library was: {libPath}");
libManager = new LibraryManager(
new LibraryItem(Platform.Windows, Architecture.X86, new LibraryFile(libPath)),
new LibraryItem(Platform.Windows, Architecture.X64, new LibraryFile(libPath)),
new LibraryItem(Platform.Windows, Architecture.Arm64, new LibraryFile(libPath)),
new LibraryItem(Platform.MacOS, Architecture.X64, new LibraryFile(libPath)),
new LibraryItem(Platform.MacOS, Architecture.Arm64, new LibraryFile(libPath)),
new LibraryItem(Platform.Linux, Architecture.X64, new LibraryFile(libPath)),
new LibraryItem(Platform.Linux, Architecture.X86, new LibraryFile(libPath)),
new LibraryItem(Platform.Linux, Architecture.Arm, new LibraryFile(libPath)),
new LibraryItem(Platform.Linux, Architecture.Arm64, new LibraryFile(libPath)));
if (PlatformHelper.IsOnWindows())
{
Expand All @@ -57,7 +54,6 @@ internal static void InitializeNative()
string trePath = GetLibraryPath("libtre-5");
string intlPath = GetLibraryPath("libintl-8");
string convPath = GetLibraryPath("libiconv-2");
string gccPath = GetLibraryPath("libgcc_s_dw2-1");
if (File.Exists(gnuRxPath))
{
var libManagerGnuRx = new LibraryManager(
Expand All @@ -66,9 +62,6 @@ internal static void InitializeNative()
new LibraryFile(intlPath),
new LibraryFile(trePath),
new LibraryFile(gnuRxTrePath)),
new LibraryItem(Platform.Windows, Architecture.X86,
new LibraryFile(gccPath),
new LibraryFile(gnuRxPath)),
new LibraryItem(Platform.Windows, Architecture.Arm64,
new LibraryFile(convPath),
new LibraryFile(intlPath),
Expand Down
Binary file removed Magico.Native/runtimes/linux-arm/native/libmagic.so
Binary file not shown.
Binary file removed Magico.Native/runtimes/linux-x86/native/libmagic.so
Binary file not shown.
Binary file not shown.
Binary file removed Magico.Native/runtimes/win-x64/native/libgnurx-0.dll
Binary file not shown.
Binary file not shown.
Binary file removed Magico.Native/runtimes/win-x86/native/libgnurx-0.dll
Binary file not shown.
Binary file removed Magico.Native/runtimes/win-x86/native/libmagic.dll
Binary file not shown.

0 comments on commit ef08a80

Please sign in to comment.