Skip to content

Commit a85d97a

Browse files
authored
Add support for s390x (IBM Z) architecture (#119)
Add support for s390x (IBM Z) architecture
1 parent c7a7217 commit a85d97a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Rubjerg.Graphviz/GraphvizCommand.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ internal static string Rid
2727
Architecture.Arm64 => "arm64",
2828
Architecture.X86 => "x86",
2929
Architecture.Arm => "arm",
30+
// Cast allows compilation in .NET Standard 2.0/2.1.
31+
// (Architecture)5 is S390x, added in .NET 6.
32+
(Architecture)5 => "s390x",
3033
_ => "unknown"
3134
};
3235

0 commit comments

Comments
 (0)