Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Outline

Basic example

Install Development Snapshot toolchain DEVELOPMENT-SNAPSHOT-2024-07-08-a from swift.org/install and run the following commands:

$ swift sdk install https://github.com/swiftwasm/swift/releases/download/swift-wasm-DEVELOPMENT-SNAPSHOT-2024-07-09-a/swift-wasm-DEVELOPMENT-SNAPSHOT-2024-07-09-a-wasm32-unknown-wasi.artifactbundle.zip
$ ./build.sh
$ npx serve

Re-generating BridgeJS code

You need to re-generate files under Sources/Generated when you make changes to bridged interfaces:

$ swift package plugin --allow-writing-to-package-directory bridge-js
Morty Proxy This is a proxified and sanitized view of the page, visit original site.