Avatar
omochimetaru 4/3/2024 3:42 PM
むむっ
3:42 PM
// Base64 is not an efficient way, but too long byte array literal breaks type-checker let hashesFileContent = """ import CartonHelpers \(hashes.map { """ public let \($0)EntrypointSHA256 = ByteString([ \(arrayString(from: $1)) ]) """ }.joined(separator: "\n\n")) public let staticArchiveContents = "\(staticArchiveContents.withData { $0.base64EncodedString() })" """
3:43 PM
これは・・・?WASMになるSwiftに埋め込まれてる?