Skip to content

Commit bfad74d

Browse files
author
Alex Peck
committed
merge
2 parents dd6328a + 798fe76 commit bfad74d

File tree

12 files changed

+785
-105
lines changed

12 files changed

+785
-105
lines changed

BitFaster.Caching.Benchmarks/BitFaster.Caching.Benchmarks.csproj

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net48;net6.0;net8.0;net9.0</TargetFrameworks>
5+
<LangVersion>latest</LangVersion>
6+
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
67
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
78
<!-- https://stackoverflow.com/a/59916801/131345 -->
89
<IsWindows Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">true</IsWindows>
910
<IsLinux Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">true</IsLinux>
1011
<IsMacOS Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">true</IsMacOS>
12+
<IsArm64 Condition="$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == Arm64">true</IsArm64>
13+
<IsX64 Condition="$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == X64">true</IsX64>
1114
</PropertyGroup>
1215

1316
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
@@ -40,5 +43,11 @@
4043
<PropertyGroup Condition="'$(IsMacOS)'=='true'">
4144
<DefineConstants>MacOS</DefineConstants>
4245
</PropertyGroup>
46+
<PropertyGroup Condition="'$(IsArm64)'=='true'">
47+
<DefineConstants>Arm64</DefineConstants>
48+
</PropertyGroup>
49+
<PropertyGroup Condition="'$(IsX64)'=='true'">
50+
<DefineConstants>X64</DefineConstants>
51+
</PropertyGroup>
4352

44-
</Project>
53+
</Project>

0 commit comments

Comments
 (0)