Skip to content

Commit 37e25be

Browse files
authored
Enable distributed actors in development snapshots (#4497)
This would potentially allow us to implement a distributed actors runtime with WebAssembly clients communicating via RPC with other clients or servers written in Swift.
1 parent 9f31350 commit 37e25be

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

utils/webassembly/build-presets.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ swift-darwin-supported-archs=%(HOST_ARCHITECTURE)s
99
compiler-vendor=swiftwasm
1010
enable-experimental-concurrency=1
1111
enable-experimental-differentiable-programming=1
12+
enable-experimental-distributed=1
1213

1314
[preset: webassembly-install]
1415

utils/webassembly/build-toolchain.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ build_target_toolchain() {
136136
-D SWIFT_WASI_wasm32_ICU_I18N="$BUILD_SDK_PATH/icu/lib/libicui18n.a" \
137137
-D SWIFT_WASI_wasm32_ICU_DATA="$BUILD_SDK_PATH/icu/lib/libicudata.a" \
138138
-D SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING=YES \
139+
-D SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED=YES \
139140
-G Ninja \
140141
-S "$SOURCE_PATH/swift"
141142

0 commit comments

Comments
 (0)