Change summary
.github/workflows/ci.yml | 14 ++++++++++++++
crates/plugin_runtime/build.rs | 2 +-
script/bundle | 1 +
3 files changed, 16 insertions(+), 1 deletion(-)
Detailed changes
@@ -31,6 +31,13 @@ jobs:
target: x86_64-apple-darwin
profile: minimal
+ - name: Install Rust wasm32-wasi target
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
+ target: wasm32-wasi
+ profile: minimal
+
- name: Install Node
uses: actions/setup-node@v2
with:
@@ -71,6 +78,13 @@ jobs:
toolchain: stable
target: aarch64-apple-darwin
profile: minimal
+
+ - name: Install Rust wasm32-wasi target
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
+ target: wasm32-wasi
+ profile: minimal
- name: Install Node
uses: actions/setup-node@v2
@@ -28,7 +28,7 @@ fn main() {
let binaries = std::fs::read_dir(base.join("target/wasm32-wasi/release"))
.expect("Could not find compiled plugins in target");
- let engine = create_engine();
+ let engine = create_default_engine();
for file in binaries {
let is_wasm = || {
@@ -6,6 +6,7 @@ export ZED_BUNDLE=true
echo "Installing cargo bundle"
cargo install cargo-bundle --version 0.5.0
+rustup target add wasm32-wasi
# Deal with versions of macOS that don't include libstdc++ headers
export CXXFLAGS="-stdlib=libc++"