Skip to content

Commit

Permalink
Stop Dual-Targetting to avoid Flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
iwillspeak committed Nov 11, 2021
1 parent 0ba4be2 commit 18f0411
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/HelloWorld/HelloWorld.scmproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<PackAsTool>True</PackAsTool>
<TargetFramework>net5.0</TargetFramework>
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
</PropertyGroup>

<!-- Default compile items. We don't to just glob default compile items because ordering matters. -->
Expand Down
2 changes: 1 addition & 1 deletion src/Feersum.Core/Feersum.Core.scmproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net5.0</TargetFrameworks>
<TargetFramework>netstandard2.0</TargetFramework>
<UpdateAssemblyInfo>false</UpdateAssemblyInfo>
<GenerateGitVersionInformation>false</GenerateGitVersionInformation>
</PropertyGroup>
Expand Down
4 changes: 0 additions & 4 deletions src/Serehfa/Equivalence.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,7 @@ public override int GetHashCode(object o)
return o switch
{
ConsPair p =>
#if NETSTANDARD2_0
(p.Car, p.Cdr).GetHashCode(),
#else
HashCode.Combine(p.Car, p.Cdr),
#endif
object[] v => ArrayHash(v),
bool[] bv => ArrayHash(bv),
_ => EqualityComparer<object>.Default.GetHashCode(o),
Expand Down
2 changes: 1 addition & 1 deletion src/Serehfa/Serehfa.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net5.0</TargetFrameworks>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>Latest</LangVersion>
<Title>The Feersum Scheme core types library</Title>
<Description>
Expand Down

0 comments on commit 18f0411

Please sign in to comment.