Skip to content

Commit 847f567

Browse files
authored
Removing unsafe flags and re-adding linked files (#233)
1 parent e1aec09 commit 847f567

File tree

4 files changed

+5
-669
lines changed

4 files changed

+5
-669
lines changed

Package.swift

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ let package = Package(
5757
.define("ENABLE_MODULE_ECDH"),
5858
.define("ENABLE_MODULE_EXTRAKEYS"),
5959
.define("ENABLE_MODULE_RECOVERY"),
60-
.define("ENABLE_MODULE_SCHNORRSIG"),
61-
// Disables SPM warnings
62-
.unsafeFlags(["-Wno-shorten-64-to-32"])
60+
.define("ENABLE_MODULE_SCHNORRSIG")
6361
]
6462
),
6563
.target(
@@ -82,9 +80,7 @@ let package = Package(
8280
.define("ENABLE_MODULE_WHITELIST"),
8381
// Some modules need additional header search paths
8482
.headerSearchPath("../../Submodules/secp256k1-zkp"),
85-
.headerSearchPath("../../Submodules/secp256k1-zkp/src"),
86-
// Disables SPM warnings
87-
.unsafeFlags(["-Wno-shorten-64-to-32"])
83+
.headerSearchPath("../../Submodules/secp256k1-zkp/src")
8884
]
8985
),
9086
.testTarget(

Sources/zkp/Digest.swift

Lines changed: 0 additions & 70 deletions
This file was deleted.

Sources/zkp/Digest.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../Submodules/swift-crypto/Sources/Crypto/Digests/Digest.swift

Sources/zkp/PrettyBytes.swift

Lines changed: 0 additions & 101 deletions
This file was deleted.

Sources/zkp/PrettyBytes.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../Submodules/swift-crypto/Sources/Crypto/Util/PrettyBytes.swift

0 commit comments

Comments
 (0)