Skip to content

Add s390x support to the runtimearchitecture list #52722

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 13, 2023
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 @@ -8,5 +8,6 @@ public enum RuntimeArchitecture
arm64,
x64,
x86,
ppc64le //Power Architecture
ppc64le, //Power Architecture
s390x
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public static RuntimeArchitecture Current
Architecture.X64 => RuntimeArchitecture.x64,
Architecture.X86 => RuntimeArchitecture.x86,
Architecture.Ppc64le => RuntimeArchitecture.ppc64le,
Architecture.S390x => RuntimeArchitecture.s390x,
_ => throw new NotImplementedException($"Unknown RuntimeInformation.OSArchitecture: {RuntimeInformation.OSArchitecture.ToString()}"),
};
}
Expand Down