From 27f8192a63b4545439da104d4440666063ff39f7 Mon Sep 17 00:00:00 2001 From: Stephen Canon Date: Wed, 6 Apr 2022 09:49:02 -0400 Subject: [PATCH] Attempt to work around CI misconfiguration by removing Complex Differentiable conformance. --- Sources/ComplexModule/Complex+Differentiable.swift | 4 +++- Tests/ComplexTests/DifferentiableTests.swift | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Sources/ComplexModule/Complex+Differentiable.swift b/Sources/ComplexModule/Complex+Differentiable.swift index 6ce8a83..eea3816 100644 --- a/Sources/ComplexModule/Complex+Differentiable.swift +++ b/Sources/ComplexModule/Complex+Differentiable.swift @@ -9,7 +9,9 @@ // //===----------------------------------------------------------------------===// -#if canImport(_Differentiation) +// STC April 2022: experimentally remove differentiable conformance to work +// around CI config failure. +#if canImport(_Differentiation) && !os(macOS) import _Differentiation extension Complex: Differentiable diff --git a/Tests/ComplexTests/DifferentiableTests.swift b/Tests/ComplexTests/DifferentiableTests.swift index 0dc09df..31632bb 100644 --- a/Tests/ComplexTests/DifferentiableTests.swift +++ b/Tests/ComplexTests/DifferentiableTests.swift @@ -9,7 +9,9 @@ // //===----------------------------------------------------------------------===// -#if canImport(_Differentiation) +// STC April 2022: experimentally remove differentiable conformance to work +// around CI config failure. +#if canImport(_Differentiation) && !os(macOS) import XCTest import ComplexModule