We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35abcc7 commit 2bde4cbCopy full SHA for 2bde4cb
LibGit2Sharp/Core/Platform.cs
@@ -12,7 +12,7 @@ internal enum OperatingSystemType
12
13
internal static class Platform
14
{
15
- public static string ProcessorArchitecture => IntPtr.Size == 8 ? "x64" : "x86";
+ public static string ProcessorArchitecture => RuntimeInformation.ProcessArchitecture.ToString().ToLowerInvariant();
16
17
public static OperatingSystemType OperatingSystem
18
0 commit comments