Skip to content

Commit dbc46a7

Browse files
committed
Fix wasm 6.2 build
1 parent 005df11 commit dbc46a7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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)