Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ public enum Architecture
S390x,
LoongArch64,
Armv6,
Ppc64le,
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ public static Architecture ProcessArchitecture
=> Architecture.S390x;
#elif TARGET_LOONGARCH64
=> Architecture.LoongArch64;
#elif TARGET_POWERPC64
=> Architecture.Ppc64le;
#else
#error Unknown Architecture
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ public void VerifyArchitecture()
Assert.Equal(Architecture.Armv6, processArch);
break;

case Architecture.Ppc64le:
Assert.Equal(Architecture.Ppc64le, processArch);
break;

default:
Assert.False(true, "Unexpected Architecture.");
break;
Expand Down
1 change: 1 addition & 0 deletions src/libraries/System.Runtime/ref/System.Runtime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12861,6 +12861,7 @@ public enum Architecture
S390x = 5,
LoongArch64 = 6,
Armv6 = 7,
Ppc64le = 8,
}
public enum CharSet
{
Expand Down