Skip to content

Working Swift code with WebAssembly on Cloud Functions for Firebase

Notifications You must be signed in to change notification settings

sidepelican/CFSwiftWasmExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftWasm on Cloud Functions for Firebase

Setup

Run

$ cd functions
$ npm install
$ npm run serve

Codegen

Generate Swift <=> TypeScript bridging code using WasmCallableKit.

$ git clone https://github.com/sidepelican/WasmCallableKit.git
$ cd WasmCallableKit/Codegen
$ swift run Codegen <path to this repo>/Sources/MySwiftLib/WasmExports.swift --swift_out <path to this repo>/Sources/MySwiftLib/Gen --ts_out <path to this repo>/functions/src/Gen

About

Working Swift code with WebAssembly on Cloud Functions for Firebase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published