Browse Source

workaround SR-12939 (#826)

Johannes Weiss 5 years ago
parent
commit
dca180f7f7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Sources/CGRPCZlib/empty.c

+ 4 - 0
Sources/CGRPCZlib/empty.c

@@ -13,3 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
+// Xcode's Archive builds with Xcode's Package support struggle with empty .c files
+// (https://bugs.swift.org/browse/SR-12939).
+void CGRPCZlib_i_do_nothing_just_working_around_a_darwin_toolchain_bug(void) {}