Skip to content

Commit 87517a0

Browse files
committed
🐛 osx rid
1 parent 1b97d1b commit 87517a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/BD.Common8.Bcl/Runtime/InteropServices/ArchitectureFlags.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ public static string GetOSXRID(this Architecture architecture, bool @throw = tru
147147
{
148148
var rid = architecture switch
149149
{
150+
unchecked((Architecture)(-1)) => "osx-any",
150151
Architecture.X64 => "osx-x64",
151152
Architecture.Arm64 => "osx-arm64",
152153
_ => @throw ?

0 commit comments

Comments
 (0)