diff --git a/Sources/SemanticVersion/SemanticVersion+LosslessStringConvertible.swift b/Sources/SemanticVersion/SemanticVersion+LosslessStringConvertible.swift index c412830..9d24663 100644 --- a/Sources/SemanticVersion/SemanticVersion+LosslessStringConvertible.swift +++ b/Sources/SemanticVersion/SemanticVersion+LosslessStringConvertible.swift @@ -12,6 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. +#if os(wasm) && swift(<6.3) +import Foundation +#endif + extension SemanticVersion: LosslessStringConvertible {