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