You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -62,7 +45,7 @@ Thank you for considering contributing to JavaScriptKit! We welcome contribution
62
45
Unit tests running on WebAssembly:
63
46
64
47
```bash
65
-
make unittest SWIFT_SDK_ID=wasm32-unknown-wasi
48
+
make unittest
66
49
```
67
50
68
51
Tests for`PackageToJS` plugin:
@@ -112,7 +95,7 @@ Run this script when you've made changes to:
112
95
113
96
These changes require updating the pre-generated Swift bindings committed to the repository.
114
97
115
-
**Adding new BridgeJS intrinsics:**
98
+
**Adding new BridgeJS intrinsics:**
116
99
117
100
If you add new `@_extern(wasm, module: "bjs")` functions to [`BridgeJSIntrinsics.swift`](Sources/JavaScriptKit/BridgeJSIntrinsics.swift), also add corresponding stub entries to [`Plugins/PackageToJS/Templates/instantiate.js`](Plugins/PackageToJS/Templates/instantiate.js) in the `importObject["bjs"]` object. This allows packages without BridgeJS-generated code to instantiate successfully.
0 commit comments