From d9bd30c0c2c5afd03981d8c2bbc1786ce54a0441 Mon Sep 17 00:00:00 2001 From: Thomas De Leon <3507743+tdeleon@users.noreply.github.com> Date: Mon, 1 Jan 2024 16:06:31 -0800 Subject: [PATCH] #35 temporarily disable building macros on windows when testing --- Sources/RelaxMacros/RelaxMacrosPlugin.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/RelaxMacros/RelaxMacrosPlugin.swift b/Sources/RelaxMacros/RelaxMacrosPlugin.swift index 715a77b..8d1a49e 100644 --- a/Sources/RelaxMacros/RelaxMacrosPlugin.swift +++ b/Sources/RelaxMacros/RelaxMacrosPlugin.swift @@ -8,9 +8,12 @@ import SwiftCompilerPlugin import SwiftSyntaxMacros +#if canImport(XCTest) && os(Windows) // temporarily disable when running tests on windows https://github.com/apple/swift/issues/69302 +#else @main struct RelaxMacrosPlugin: CompilerPlugin { let providingMacros: [Macro.Type] = [ APIServiceMacro.self ] } +#endif