Skip to content

Commit

Permalink
Update build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
sandys authored Dec 21, 2024
1 parent 538ea8a commit 754e34d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JS/wasm/crates/cli/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ fn copy_javy_core() -> Result<()> {
.unwrap()
.parent()
.unwrap()
.join("../../target/wasm32-wasi/debug/")
.join("../../target/wasm32-wasip1/debug/")
} else {
println!("cargo:warning=using release build for arakoo_js_engine...");
PathBuf::from(&cargo_manifest_dir)
.parent()
.unwrap()
.parent()
.unwrap()
.join("../../target/wasm32-wasi/release/")
.join("../../target/wasm32-wasip1/release/")
};

let engine_path = module_path.join("arakoo_js_engine.wasm");
Expand Down

0 comments on commit 754e34d

Please sign in to comment.