Skip to content

Commit

Permalink
refactor: conditionally import System.Runtime.Intrinsics.X86
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbooth committed Aug 22, 2023
1 parent b4ae55c commit fa375e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion X10D.Tests/src/Collections/Int16Tests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System.Runtime.Intrinsics.X86;
#if NET5_0_OR_GREATER
using System.Runtime.Intrinsics.X86;
#endif
using NUnit.Framework;
using X10D.Collections;

Expand Down
4 changes: 3 additions & 1 deletion X10D.Tests/src/Collections/Int32Tests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System.Runtime.Intrinsics.X86;
#if NET5_0_OR_GREATER
using System.Runtime.Intrinsics.X86;
#endif
using NUnit.Framework;
using X10D.Collections;

Expand Down

0 comments on commit fa375e7

Please sign in to comment.