Skip to content

Commit fe99f6e

Browse files
Merge pull request #34 from SwiftPackageIndex/fix-wasm-build
Fix wasm 6.2 build
2 parents 005df11 + dbc46a7 commit fe99f6e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/SemanticVersion/SemanticVersion+LosslessStringConvertible.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
#if os(wasm) && swift(<6.3)
16+
import Foundation
17+
#endif
18+
1519

1620
extension SemanticVersion: LosslessStringConvertible {
1721

0 commit comments

Comments
 (0)