Skip to content

Commit af394ee

Browse files
committed
Add a few more architecture names
1 parent f1084b5 commit af394ee

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/runtime/runtime.cs

+7-3
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,13 @@ public enum MachineType
239239
/// </summary>
240240
static readonly Dictionary<string, MachineType> MachineTypeMapping = new Dictionary<string, MachineType>()
241241
{
242-
{ "i386", MachineType.i386 },
243-
{ "x86_64", MachineType.x86_64 },
244-
{ "amd64", MachineType.x86_64 },
242+
["i386"] = MachineType.i386,
243+
["i686"] = MachineType.i386,
244+
["x86"] = MachineType.i386,
245+
["x86_64"] = MachineType.x86_64,
246+
["amd64"] = MachineType.x86_64,
247+
["x64"] = MachineType.x86_64,
248+
["em64t"] = MachineType.x86_64,
245249
};
246250

247251
/// <summary>

0 commit comments

Comments
 (0)