mirror of
https://github.com/apple/swift-numerics
synced 2026-11-26 04:57:53 +00:00
Make _NumericsShims a systemLibrary target.
This commit is contained in:
1 parent
027bcc5b8e
commit
cc53a7b085
4 files changed
+3
-23
No files matched your search
+2
-4
@@ -50,10 +50,8 @@ let package = Package(
|
||||
),
|
||||
|
||||
// MARK: - Implementation details
|
||||
.target(
|
||||
name: "_NumericsShims",
|
||||
dependencies: [],
|
||||
exclude: excludedFilenames
|
||||
.systemLibrary(
|
||||
name: "_NumericsShims"
|
||||
),
|
||||
|
||||
.target(
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
//===--- NumericsShims.c --------------------------------------*- swift -*-===//
|
||||
//
|
||||
// This source file is part of the Swift Numerics open source project
|
||||
//
|
||||
// Copyright (c) 2019 Apple Inc. and the Swift Numerics project authors
|
||||
// Licensed under Apache License v2.0 with Runtime Library Exception
|
||||
//
|
||||
// See https://swift.org/LICENSE.txt for license information
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// This file exists only to trigger the NumericShims module to build; without
|
||||
// it swiftpm won't build anything, and then the shims are not available for
|
||||
// the modules that need them.
|
||||
|
||||
// If any shims are added that are not pure header inlines, whatever runtime
|
||||
// support they require can be added to this file.
|
||||
|
||||
#include "_NumericsShims.h"
|
||||
File renamed without changes.
+1
@@ -1,3 +1,4 @@
|
||||
module _NumericsShims {
|
||||
header "_NumericsShims.h"
|
||||
link "m"
|
||||
}
|
||||
Reference in new issue
Block a user